Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-api-boot-master
Commits
59142450
Commit
59142450
authored
Oct 09, 2024
by
zhangfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat-512: APP/WEB端设置兑换时间
parent
ba1fa1a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
AppRedeemRewardController.java
...ward/controller/app/redeem/AppRedeemRewardController.java
+3
-0
No files found.
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/controller/app/redeem/AppRedeemRewardController.java
View file @
59142450
...
@@ -19,6 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
...
@@ -19,6 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
import
javax.validation.Valid
;
import
javax.validation.Valid
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
pojo
.
CommonResult
.
success
;
import
static
cn
.
iocoder
.
yudao
.
framework
.
common
.
pojo
.
CommonResult
.
success
;
...
@@ -65,6 +66,8 @@ public class AppRedeemRewardController {
...
@@ -65,6 +66,8 @@ public class AppRedeemRewardController {
@Idempotent
(
timeout
=
5
)
@Idempotent
(
timeout
=
5
)
//@PreAuthenticated
//@PreAuthenticated
public
CommonResult
<
Boolean
>
redeemReward
(
@Valid
@RequestBody
AppRedeemRewardReqVO
redeemRewardReqVO
)
{
public
CommonResult
<
Boolean
>
redeemReward
(
@Valid
@RequestBody
AppRedeemRewardReqVO
redeemRewardReqVO
)
{
// APP/WEB兑换设置兑换时间
redeemRewardReqVO
.
setRedemptionTime
(
new
Date
());
return
success
(
redeemRewardApi
.
redeemReward
(
redeemRewardReqVO
));
return
success
(
redeemRewardApi
.
redeemReward
(
redeemRewardReqVO
));
}
}
@PostMapping
(
"/send-sms-code"
)
@PostMapping
(
"/send-sms-code"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment