From e47c4508439fbf878ef4ecc49914649950aa9f18 Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 27 Aug 2020 21:26:01 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=B8=BAguest=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=BB=91=E5=AE=9AtenantId?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../springblade/system/user/service/impl/UserServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/blade-service/blade-user/src/main/java/org/springblade/system/user/service/impl/UserServiceImpl.java b/blade-service/blade-user/src/main/java/org/springblade/system/user/service/impl/UserServiceImpl.java index 1008c8ab..a027de7b 100644 --- a/blade-service/blade-user/src/main/java/org/springblade/system/user/service/impl/UserServiceImpl.java +++ b/blade-service/blade-user/src/main/java/org/springblade/system/user/service/impl/UserServiceImpl.java @@ -189,6 +189,7 @@ public class UserServiceImpl extends BaseServiceImpl implement } User user = new User(); user.setAccount(userOauth.getUsername()); + user.setTenantId(userOauth.getTenantId()); userInfo.setUser(user); userInfo.setRoles(Collections.singletonList(GUEST_NAME)); }