Pre Merge pull request !461 from yuezj/dev

This commit is contained in:
yuezj 2023-12-19 07:30:26 +00:00 committed by Gitee
commit 0f725c4715
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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());