1.优化
Showing
1 changed file
with
6 additions
and
1 deletions
... | @@ -1565,6 +1565,10 @@ public class UserOperationServiceImpl implements UserOperationService { | ... | @@ -1565,6 +1565,10 @@ public class UserOperationServiceImpl implements UserOperationService { |
1565 | if (StringUtils.isBlank(headimgurl_)) { | 1565 | if (StringUtils.isBlank(headimgurl_)) { |
1566 | userWeixinDTO.setHeadimgurl(headimgurl); | 1566 | userWeixinDTO.setHeadimgurl(headimgurl); |
1567 | } | 1567 | } |
1568 | Integer status = userWeixinDTO.getStatus(); | ||
1569 | if (status == null) { | ||
1570 | userWeixinDTO.setStatus(1); | ||
1571 | } | ||
1568 | 1572 | ||
1569 | UserWeixinDTO userWeixinDTO_ = this.doCreateUserWeiXin(userWeixinDTO,memberId); | 1573 | UserWeixinDTO userWeixinDTO_ = this.doCreateUserWeiXin(userWeixinDTO,memberId); |
1570 | MemberProfileDTO memberProfileDTO = this.memberProfileService.findByMemberId(memberId); | 1574 | MemberProfileDTO memberProfileDTO = this.memberProfileService.findByMemberId(memberId); |
... | @@ -1572,7 +1576,8 @@ public class UserOperationServiceImpl implements UserOperationService { | ... | @@ -1572,7 +1576,8 @@ public class UserOperationServiceImpl implements UserOperationService { |
1572 | // 创建会员属性信息 | 1576 | // 创建会员属性信息 |
1573 | this.createMemberProfile(userWeixinDTO_); | 1577 | this.createMemberProfile(userWeixinDTO_); |
1574 | 1578 | ||
1575 | return userWeixinDTO; | 1579 | log.info("userWeixinDTO_ ===>> {}", userWeixinDTO_); |
1580 | return userWeixinDTO_; | ||
1576 | 1581 | ||
1577 | } else { | 1582 | } else { |
1578 | 1583 | ... | ... |
-
Please register or sign in to post a comment