Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
向汉
/
uc-engine
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
7e7715e5
...
7e7715e58b7aeab8f57c78884466fd1f18b51a8e
authored
2022-04-21 12:31:13 +0800
by
xianghan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.兼容历史数据无unionid和memberId的情况
1 parent
9d69379e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
member-service-impl/src/main/java/com/topdraw/business/process/service/impl/UserOperationServiceImpl.java
member-service-impl/src/main/resources/config/application-dev.yml
member-service-impl/src/main/java/com/topdraw/business/process/service/impl/UserOperationServiceImpl.java
View file @
7e7715e
...
...
@@ -663,7 +663,7 @@ public class UserOperationServiceImpl implements UserOperationService {
// 避免账户存在但会员不存在的情况
if
(
Objects
.
nonNull
(
userWeixin
.
getId
())
&&
Objects
.
isNull
(
userWeixin
.
getMemberId
())
&&
Objects
.
nonNull
(
userWeixin
.
getUnionid
()))
{
userWeixin
.
setMemberCode
(
memberDTO
.
getCode
());
userWeixin
.
setMemberId
(
memberId
);
this
.
userWeixinService
.
update
(
userWeixin
);
}
...
...
member-service-impl/src/main/resources/config/application-dev.yml
View file @
7e7715e
...
...
@@ -69,11 +69,11 @@ spring:
# username: omo_test # rabbitmq的用户名
# password: omo_test # rabbitmq的密码
rabbitmq
:
host
:
1
39.196.145.150
# rabbitmq的连接地址
host
:
1
22.112.214.149
# rabbitmq的连接地址
port
:
5672
# rabbitmq的连接端口号
virtual-host
:
member_center
# rabbitmq的虚拟host
username
:
admin
# rabbitmq的用户名
password
:
Topdraw1qaz
# rabbitmq的密码
virtual-host
:
member_center
_sichuan
# rabbitmq的虚拟host
username
:
guest
# rabbitmq的用户名
password
:
guest
# rabbitmq的密码
publisher-confirms
:
true
#如果对异步消息需要回调必须设置为true
#jwt。依赖的common中有需要jwt的部分属性。
...
...
Please
register
or
sign in
to post a comment