【功能修复】商城:promotion 服务启动失败的问题

pull/140/head
YunaiV 2024-09-09 20:58:22 +08:00
parent 134b8e417b
commit 1209a63c18
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public interface CouponApi {
@Parameter(name = "giveCoupons", description = "key: 优惠劵模版编号value对应的数量", required = true),
@Parameter(name = "userId", description = "用户编号", required = true)
})
CommonResult<List<Long>> takeCouponsByAdmin(@RequestParam("giveCoupons") Map<Long, Integer> giveCoupons,
CommonResult<List<Long>> takeCouponsByAdmin(@RequestBody Map<Long, Integer> giveCoupons,
@RequestParam("userId") Long userId);
@PostMapping(PREFIX + "/invalidate-by-admin")