平台分类改为店铺分类
This commit is contained in:
parent
b8f2c85cb0
commit
f280cfa1a0
@ -41,6 +41,9 @@ public class ShopBaseProductCategoryController extends BaseController {
|
||||
@RequestMapping(value = "/listCategory", method = RequestMethod.GET)
|
||||
public CommonRes<BaseListRes<ShopBaseProductCategory>> listCategory(ProductCategoryListReq productCategoryListReq) {
|
||||
productCategoryListReq.setCategoryIsEnable(true);
|
||||
if(productCategoryListReq.getStore_id().equals("0")){
|
||||
productCategoryListReq.setStore_id("58");
|
||||
}
|
||||
IPage<ShopBaseProductCategory> pageList = shopBaseProductCategoryService.lists(productCategoryListReq);
|
||||
|
||||
return success(pageList);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user