|
|
@@ -38,7 +38,7 @@ public class CouponController {
|
|
|
return ResultVO.buildSuccess(couponService.getCoupons());
|
|
|
}
|
|
|
|
|
|
- @GetMapping
|
|
|
+ @GetMapping("/available")
|
|
|
public ResultVO<List<CouponVO>> getCouponsWithStoreId(@RequestParam("storeId")Integer storeId){
|
|
|
return ResultVO.buildSuccess(couponService.getCouponsWithStoreId(storeId));
|
|
|
}
|