平台分类改为店铺分类

This commit is contained in:
liyj 2025-07-31 17:58:52 +08:00
parent 7466689bc1
commit 8418c2823c

View File

@ -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);