This commit is contained in:
2025-10-23 15:59:18 +08:00
parent 500860109a
commit 0104323702
2 changed files with 3 additions and 3 deletions

View File

@@ -72,7 +72,7 @@ public class ProductController {
@OperationLog("商品-列表")
//@SaAdminCheckPermission("product:list")
public CzgResult<List<ProductDTO>> getProductList(ProductDTO param) {
Long shopId = StpKit.USER.getShopId(0L);
Long shopId = StpKit.USER.getShopId();
param.setShopId(shopId);
List<ProductDTO> productList = productService.getProductCacheList(param);
productService.refreshProductStock(param, productList);