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
322b279b
Commit
322b279b
authored
Aug 14, 2024
by
zhangfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'refs/heads/feature_member_score' into dev
parents
9ccf9251
5097f231
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 deletions
+8
-2
AppRedeemRewardController.java
...ward/controller/app/redeem/AppRedeemRewardController.java
+1
-1
AppRewardRedeemDetailReqVO.java
.../controller/app/redeem/vo/AppRewardRedeemDetailReqVO.java
+1
-1
AppRewardRedeemDetailRespVO.java
...controller/app/redeem/vo/AppRewardRedeemDetailRespVO.java
+3
-0
AppRewardRedeemListRespVO.java
...d/controller/app/redeem/vo/AppRewardRedeemListRespVO.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 @
322b279b
...
...
@@ -45,7 +45,7 @@ public class AppRedeemRewardController {
@ApiOperation
(
"兑换详情"
)
//@PreAuthenticated
public
CommonResult
<
AppRewardRedeemDetailRespVO
>
detail
(
@Valid
@RequestBody
AppRewardRedeemDetailReqVO
request
)
{
RewardRedeemPageRespVO
detail
=
rewardRedeemService
.
detail
(
request
.
getRedeemId
(
));
RewardRedeemPageRespVO
detail
=
rewardRedeemService
.
detail
(
Long
.
valueOf
(
request
.
getRedeemId
()
));
if
(
detail
!=
null
)
{
AppRewardRedeemDetailRespVO
appRewardRedeemDetailRespVO
=
new
AppRewardRedeemDetailRespVO
();
BeanUtils
.
copyProperties
(
detail
,
appRewardRedeemDetailRespVO
);
...
...
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/controller/app/redeem/vo/AppRewardRedeemDetailReqVO.java
View file @
322b279b
...
...
@@ -11,5 +11,5 @@ import javax.validation.constraints.NotNull;
public
class
AppRewardRedeemDetailReqVO
{
@ApiModelProperty
(
value
=
"兑换记录id"
)
@NotNull
(
message
=
"兑换记录id不能为空"
)
private
Lo
ng
redeemId
;
private
Stri
ng
redeemId
;
}
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/controller/app/redeem/vo/AppRewardRedeemDetailRespVO.java
View file @
322b279b
package
cn
.
iocoder
.
yudao
.
module
.
reward
.
controller
.
app
.
redeem
.
vo
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -10,6 +12,7 @@ import java.util.Date;
@ApiModel
(
"客户端 - 礼品兑换记录详情 resp VO"
)
public
class
AppRewardRedeemDetailRespVO
{
@ApiModelProperty
(
value
=
"id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
id
;
@ApiModelProperty
(
value
=
"会员id"
)
private
Long
memberId
;
...
...
yudao-module-reward/yudao-module-reward-impl/src/main/java/cn/iocoder/yudao/module/reward/controller/app/redeem/vo/AppRewardRedeemListRespVO.java
View file @
322b279b
package
cn
.
iocoder
.
yudao
.
module
.
reward
.
controller
.
app
.
redeem
.
vo
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
...
...
@@ -19,6 +21,7 @@ import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_
@NoArgsConstructor
public
class
AppRewardRedeemListRespVO
{
@ApiModelProperty
(
value
=
"id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
id
;
@ApiModelProperty
(
value
=
"礼品ID"
)
private
Long
rewardCode
;
...
...
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