同步修改会员信息
Showing
2 changed files
with
5 additions
and
0 deletions
... | @@ -81,6 +81,7 @@ public class MemberProfileController { | ... | @@ -81,6 +81,7 @@ public class MemberProfileController { |
81 | @Log | 81 | @Log |
82 | @PutMapping | 82 | @PutMapping |
83 | @ApiOperation("修改MemberProfile") | 83 | @ApiOperation("修改MemberProfile") |
84 | @AnonymousAccess | ||
84 | public ResultInfo updateMemberProfileAndMember(@Validated @RequestBody MemberProfile resources) { | 85 | public ResultInfo updateMemberProfileAndMember(@Validated @RequestBody MemberProfile resources) { |
85 | this.MemberProfileService.updateMemberProfileAndMember(resources); | 86 | this.MemberProfileService.updateMemberProfileAndMember(resources); |
86 | return ResultInfo.success(); | 87 | return ResultInfo.success(); | ... | ... |
... | @@ -125,6 +125,10 @@ public class MemberProfileServiceImpl implements MemberProfileService { | ... | @@ -125,6 +125,10 @@ public class MemberProfileServiceImpl implements MemberProfileService { |
125 | resources.setRealname(nickNameStr); | 125 | resources.setRealname(nickNameStr); |
126 | } | 126 | } |
127 | 127 | ||
128 | if (StringUtils.isNotBlank(resources.getIdCard())) { | ||
129 | resources.setIdCard("000000000000000000"); | ||
130 | } | ||
131 | |||
128 | this.MemberProfileRepository.save(resources); | 132 | this.MemberProfileRepository.save(resources); |
129 | 133 | ||
130 | //修改member相关信息 | 134 | //修改member相关信息 | ... | ... |
-
Please register or sign in to post a comment