记得上下班打卡 | git大法好,push需谨慎

Commit 94c8c594 authored by 胡佳晨's avatar 胡佳晨

提交 回退券

parent 707bb6e1
......@@ -165,6 +165,9 @@ public class CandyCouponController {
@PostMapping("useBack")
@ApiOperation("回退券")
public ResponseDto<Boolean> useBackCoupon(@RequestBody @Valid List<BackCouponParam> backCouponParam) {
if(backCouponParam.size()>100){
return ResponseDto.failure("数据量不得大于100");
}
candyCouponService.useBackCoupon(backCouponParam);
return ResponseDto.success();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment