Commit 369fbe44 authored by zhangfeng's avatar zhangfeng

兑换记录核销回退修改

parent 12ac6d29
...@@ -75,8 +75,8 @@ public class RedeemRewardController { ...@@ -75,8 +75,8 @@ public class RedeemRewardController {
@PostMapping("record/verify-back") @PostMapping("record/verify-back")
@ApiOperation("核销回退") @ApiOperation("核销回退")
public CommonResult<Boolean> verifyBack(@Valid @RequestBody List<Long> redeemIds) { public CommonResult<Boolean> verifyBack(@Valid @RequestBody RewardRedeemVerifyBackReqVO redeemIds) {
return success(rewardRedeemService.verifyBack(redeemIds)); return success(rewardRedeemService.verifyBack(redeemIds.getRedeemIds()));
} }
@PostMapping("record/export") @PostMapping("record/export")
......
package cn.iocoder.yudao.module.reward.vo.reward;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.util.List;
@Data
public class RewardRedeemVerifyBackReqVO {
@NotNull(message = "ids is not null")
@ApiModelProperty(value = "id")
private List<Long> redeemIds;
}
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