‘linchangsheng’ 3 weeks ago
parent
commit
b1ea587752

+ 1 - 1
src/main/java/com/gree/mall/miniapp/controller/goods/GoodsController.java

@@ -113,7 +113,7 @@ public class GoodsController {
     public ResponseHelper<IPage<GoodsNewBean>> page(
             HttpServletRequest request,
             @ApiParam(value = "商品关键字") @RequestParam(required = false) String keyword,
-            @ApiParam(value = "排序 0=综合 1=销量 2=价格升 3=价格降 4=上新") @RequestParam(required = false,defaultValue = "0") Integer sort,
+            @ApiParam(value = "排序 0=综合 1=销量 2=价格升 3=价格降 4=上新 5 = 商品推荐") @RequestParam(required = false,defaultValue = "0") Integer sort,
             @ApiParam(value = "分类id") @RequestParam(required = false) String categoryId,
             @ApiParam(value = "页号",required = true) @RequestParam Integer pageNum,
             @ApiParam(value = "页大小",required = true) @RequestParam Integer pageSize