收音机 / 客户端 商品列表

This commit is contained in:
2026-04-09 17:11:37 +08:00
parent 084baf89b1
commit a1fe1bac16
2 changed files with 24 additions and 12 deletions

View File

@@ -82,7 +82,7 @@ public class ProductController {
*/
@GetMapping("list")
@OperationLog("商品-列表")
public CzgResult<Map<String, Object>> getProductList(@RequestParam Long categoryId) {
public CzgResult<Map<String, Object>> getProductList(@RequestParam(required = false) Long categoryId) {
return CzgResult.success(productService.getProductCacheList(StpKit.USER.getShopId(), categoryId));
}