fix: 修复查询满减活动和优惠券活动报错问题
This commit is contained in:
parent
f375432e7d
commit
cbdcb6f1ce
@ -35,7 +35,6 @@ public class FullDiscountManagerController {
|
||||
@ApiOperation(value = "获取满优惠列表")
|
||||
@GetMapping
|
||||
public ResultMessage<IPage<FullDiscount>> getCouponList(FullDiscountSearchParams searchParams, PageVO page) {
|
||||
page.setNotConvert(true);
|
||||
return ResultUtil.data(fullDiscountService.pageFindAll(searchParams, page));
|
||||
}
|
||||
|
||||
|
@ -41,7 +41,6 @@ public class CouponStoreController {
|
||||
@GetMapping
|
||||
@ApiOperation(value = "获取优惠券列表")
|
||||
public ResultMessage<IPage<CouponVO>> getCouponList(CouponSearchParams queryParam, PageVO page) {
|
||||
page.setNotConvert(true);
|
||||
String storeId = Objects.requireNonNull(UserContext.getCurrentUser()).getStoreId();
|
||||
queryParam.setStoreId(storeId);
|
||||
IPage<CouponVO> coupons = couponService.pageVOFindAll(queryParam, page);
|
||||
|
Loading…
x
Reference in New Issue
Block a user