提交 e26f8693 编写于 作者: dong.an's avatar dong.an

微信登录

上级 3c20b981
流水线 #14758 已失败 于阶段
in 0 second
......@@ -254,9 +254,6 @@ public class LoginServiceImpl implements LoginService {
processWeChatInfoUser(weChatUserInfoEntity, request.getWeChatLoginType());
}
processAccountUnion(request.getAccId(), unionId);
if (doubleWritingMode) {
doctorService.bindWeChat(request.getAccId(), unionId);
}
}
/**
......@@ -276,6 +273,9 @@ public class LoginServiceImpl implements LoginService {
accountUnionEntity.setModifiedId(acctId);
accountUnionEntity.setUnionType(AccountTypeEnum.UNION_LOGIN_WE_CHAT.getCode());
accountUnionMapper.insertSelective(accountUnionEntity);
if (doubleWritingMode) {
doctorService.bindWeChat(acctId, unionId);
}
}
private void processWeChatInfoUser(WeChatUserInfoEntity weChatUserInfoEntity, int type) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册