Commit a822fd34c1be83ac3de968518738c883f83dad3e
1 parent
b0397843
fix(product): app SPU 分页排序白名单放行 createTime
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/controller/app/spu/vo/AppProductSpuPageReqVO.java
| @@ -45,7 +45,7 @@ public class AppProductSpuPageReqVO extends PageParam { | @@ -45,7 +45,7 @@ public class AppProductSpuPageReqVO extends PageParam { | ||
| 45 | if (StrUtil.isEmpty(sortField)) { | 45 | if (StrUtil.isEmpty(sortField)) { |
| 46 | return true; | 46 | return true; |
| 47 | } | 47 | } |
| 48 | - return StrUtil.equalsAny(sortField, SORT_FIELD_PRICE, SORT_FIELD_SALES_COUNT); | 48 | + return StrUtil.equalsAny(sortField, SORT_FIELD_PRICE, SORT_FIELD_SALES_COUNT, SORT_FIELD_CREATE_TIME); |
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | } | 51 | } |