店铺列表 普通店铺使用

用户优惠券列表
This commit is contained in:
2025-09-28 10:52:12 +08:00
parent 34089ce86d
commit d9698b5e13
6 changed files with 40 additions and 9 deletions

View File

@@ -46,6 +46,15 @@ public class ShopInfoController {
return CzgResult.success(shopInfoService.get(pageDTO, shopName, status, isHeadShop));
}
/**
* 店铺的 店铺列表
*
*/
@GetMapping("/otherShop")
public CzgResult<Page<ShopInfo>> getShopByMainId(PageDTO pageDTO, String shopName, Integer status) {
return CzgResult.success(shopInfoService.getShopByMainId(pageDTO, shopName, status));
}
/**
* 店铺详情
* 权限标识: shopInfo:detail

View File

@@ -158,7 +158,7 @@ public class ACouponController {
@RequestParam(required = false) String startTime,
@RequestParam(required = false) String endTime,
MkShopCouponRecordDTO param) {
Page<MkShopCouponRecordDTO> data = couponRecordService.getRecordByUser(param, startTime, endTime);
Page<MkShopCouponRecordDTO> data = couponRecordService.getRecordByShopUser(param, startTime, endTime);
return CzgResult.success(data);
}