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