商品类型

This commit is contained in:
2025-12-10 14:28:59 +08:00
parent fe9b5ba57f
commit 1d896d30ef
5 changed files with 12 additions and 8 deletions

View File

@@ -39,8 +39,9 @@ public class UPointGoodsController {
@GetMapping("/page")
public CzgResult<Page<MkPointsGoods>> getPointsGoodsSettingPage(@RequestParam(defaultValue = "1", required = false) Integer page,
@RequestParam(defaultValue = "10", required = false) Integer size,
@RequestParam(required = false) String goodsCategory,
Long shopId) {
Page<MkPointsGoods> data = pointsGoodsService.getPointsGoodsPageByUser(page, size, shopId, StpKit.USER.getLoginIdAsLong());
Page<MkPointsGoods> data = pointsGoodsService.getPointsGoodsPageByUser(page, size, shopId, goodsCategory, StpKit.USER.getLoginIdAsLong());
return CzgResult.success(data);
}