|
@@ -43,7 +43,7 @@ public class UserCouponController {
|
|
|
*/
|
|
|
@PostMapping("/usercoupon/{couponId}/claim")
|
|
|
public Long claimCoupon(@PathVariable("couponId") @Min(value = 1, message = "优惠券主键不能小于1") Long couponId) {
|
|
|
- return this.userCouponService.addUserCoupon(param);
|
|
|
+ return this.userCouponService.claimCoupon(couponId);
|
|
|
}
|
|
|
|
|
|
/**
|