【功能修复】商城:promotion 服务启动失败的问题
parent
134b8e417b
commit
1209a63c18
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue