mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 10:13:28 +08:00
update 修复绑定第三方账号时sys_social表中的tenant_id字段为NULL
This commit is contained in:
parent
0ac4a63e91
commit
666bdc4445
@ -74,6 +74,8 @@ public class SysLoginService {
|
||||
SysSocialBo bo = BeanUtil.toBean(authUserData, SysSocialBo.class);
|
||||
BeanUtil.copyProperties(authUserData.getToken(), bo);
|
||||
bo.setUserId(LoginHelper.getUserId());
|
||||
//绑定当前登录用户租户ID
|
||||
bo.setTenantId(LoginHelper.getTenantId());
|
||||
bo.setAuthId(authId);
|
||||
bo.setOpenId(authUserData.getUuid());
|
||||
bo.setUserName(authUserData.getUsername());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user