Commit b8c77c5e b8c77c5ef64818007dc6b9be86507d1356a44df9 by 鲁二龙

同步修改会员信息

1 parent 88a0d220
...@@ -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相关信息
......