From 1209a63c18cc966817cf2ad0d2b4db1694ff862a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 9 Sep 2024 20:58:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=91=E5=95=86=E5=9F=8E=EF=BC=9Apromotion=20=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=90=AF=E5=8A=A8=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/iocoder/yudao/module/promotion/api/coupon/CouponApi.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ CommonResult> getCouponListByUserId(@RequestParam("userId") @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")