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