1.兼容历史数据无unionid和memberId的情况
Showing
2 changed files
with
5 additions
and
5 deletions
... | @@ -663,7 +663,7 @@ public class UserOperationServiceImpl implements UserOperationService { | ... | @@ -663,7 +663,7 @@ public class UserOperationServiceImpl implements UserOperationService { |
663 | 663 | ||
664 | // 避免账户存在但会员不存在的情况 | 664 | // 避免账户存在但会员不存在的情况 |
665 | if(Objects.nonNull(userWeixin.getId()) && Objects.isNull(userWeixin.getMemberId()) && Objects.nonNull(userWeixin.getUnionid())) { | 665 | if(Objects.nonNull(userWeixin.getId()) && Objects.isNull(userWeixin.getMemberId()) && Objects.nonNull(userWeixin.getUnionid())) { |
666 | 666 | userWeixin.setMemberCode(memberDTO.getCode()); | |
667 | userWeixin.setMemberId(memberId); | 667 | userWeixin.setMemberId(memberId); |
668 | this.userWeixinService.update(userWeixin); | 668 | this.userWeixinService.update(userWeixin); |
669 | } | 669 | } | ... | ... |
... | @@ -69,11 +69,11 @@ spring: | ... | @@ -69,11 +69,11 @@ spring: |
69 | # username: omo_test # rabbitmq的用户名 | 69 | # username: omo_test # rabbitmq的用户名 |
70 | # password: omo_test # rabbitmq的密码 | 70 | # password: omo_test # rabbitmq的密码 |
71 | rabbitmq: | 71 | rabbitmq: |
72 | host: 139.196.145.150 # rabbitmq的连接地址 | 72 | host: 122.112.214.149 # rabbitmq的连接地址 |
73 | port: 5672 # rabbitmq的连接端口号 | 73 | port: 5672 # rabbitmq的连接端口号 |
74 | virtual-host: member_center # rabbitmq的虚拟host | 74 | virtual-host: member_center_sichuan # rabbitmq的虚拟host |
75 | username: admin # rabbitmq的用户名 | 75 | username: guest # rabbitmq的用户名 |
76 | password: Topdraw1qaz # rabbitmq的密码 | 76 | password: guest # rabbitmq的密码 |
77 | publisher-confirms: true #如果对异步消息需要回调必须设置为true | 77 | publisher-confirms: true #如果对异步消息需要回调必须设置为true |
78 | 78 | ||
79 | #jwt。依赖的common中有需要jwt的部分属性。 | 79 | #jwt。依赖的common中有需要jwt的部分属性。 | ... | ... |
-
Please register or sign in to post a comment