From 5e537c43c29050fc74793d7b8f702bc4f769a05b Mon Sep 17 00:00:00 2001 From: Song Date: Fri, 7 Feb 2025 17:20:37 +0800 Subject: [PATCH] =?UTF-8?q?bugfix(promotion):=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=90=8D=E4=B8=AD=E6=96=87=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E4=BD=9C=E5=BA=9F=E5=88=B8=E6=8E=A5=E5=8F=A3=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将请求参数名从中文修改为英文 --- .../iocoder/yudao/module/promotion/api/coupon/CouponApi.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c72000349..7c8d31672 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 @@ -50,7 +50,7 @@ public interface CouponApi { @Parameter(name = "giveCouponIds", description = "赠送的优惠券编号", required = true), @Parameter(name = "userId", description = "用户编号", required = true) }) - CommonResult invalidateCouponsByAdmin(@RequestParam("赠送的优惠券编号") List giveCouponIds, - @RequestParam("用户编号") Long userId); + CommonResult invalidateCouponsByAdmin(@RequestParam("giveCouponIds") List giveCouponIds, + @RequestParam("userId") Long userId); }