소스 검색

商品添加查询条件

yuanliang 1 년 전
부모
커밋
a4b8f71e11
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      mec-application/src/main/java/com/ym/mec/web/controller/GoodsController.java

+ 3 - 3
mec-application/src/main/java/com/ym/mec/web/controller/GoodsController.java

@@ -151,18 +151,18 @@ public class GoodsController extends BaseController {
     @ApiOperation(value = "查询商品类型")
     @GetMapping("/queryGoodsTypeList")
     public Object queryGoodsTypeList() {
-        return goodsService.queryGoodsTypeList();
+        return succeed(goodsService.queryGoodsTypeList());
     }
 
     @ApiOperation(value = "查询商品分类")
     @GetMapping("/queryGoodsCategoryList")
     public Object queryGoodsCategoryList() {
-        return goodsService.queryGoodsCategoryList();
+        return succeed(goodsService.queryGoodsCategoryList());
     }
 
     @ApiOperation(value = "查询商品品牌")
     @GetMapping("/queryGoodsBrandList")
     public Object queryGoodsBrandList() {
-        return goodsService.queryGoodsBrandList();
+        return succeed(goodsService.queryGoodsBrandList());
     }
 }