Commit 00ca8bac authored by zhangfeng's avatar zhangfeng

feat-512: APP/WEB端设置兑换时间

parent 0b755e3b
......@@ -19,6 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import javax.validation.Valid;
import java.util.Date;
import java.util.List;
import static cn.iocoder.yudao.framework.common.pojo.CommonResult.success;
......@@ -65,6 +66,8 @@ public class AppRedeemRewardController {
@Idempotent(timeout = 5)
//@PreAuthenticated
public CommonResult<Boolean> redeemReward(@Valid @RequestBody AppRedeemRewardReqVO redeemRewardReqVO) {
// APP/WEB兑换设置兑换时间
redeemRewardReqVO.setRedemptionTime(new Date());
return success(redeemRewardApi.redeemReward(redeemRewardReqVO));
}
@PostMapping("/send-sms-code")
......
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