diff --git a/yudao-module-mall/yudao-module-promotion-api/src/main/java/cn/iocoder/yudao/module/promotion/api/coupon/CouponApi.java b/yudao-module-mall/yudao-module-promotion-api/src/main/java/cn/iocoder/yudao/module/promotion/api/coupon/CouponApi.java index 0db743939..c72000349 100644 --- a/yudao-module-mall/yudao-module-promotion-api/src/main/java/cn/iocoder/yudao/module/promotion/api/coupon/CouponApi.java +++ b/yudao-module-mall/yudao-module-promotion-api/src/main/java/cn/iocoder/yudao/module/promotion/api/coupon/CouponApi.java @@ -41,7 +41,7 @@ public interface CouponApi { @Parameter(name = "giveCoupons", description = "key: 优惠劵模版编号,value:对应的数量", required = true), @Parameter(name = "userId", description = "用户编号", required = true) }) - CommonResult> takeCouponsByAdmin(@RequestParam("giveCoupons") Map giveCoupons, + CommonResult> takeCouponsByAdmin(@RequestBody Map giveCoupons, @RequestParam("userId") Long userId); @PostMapping(PREFIX + "/invalidate-by-admin")