update AuthServiceImpl.java.

原写法导致 set null 不生效,getClientLoginUser() 多次调用返回不同对象

Signed-off-by: 微笑 <1572089876@qq.com>
pull/62/head
微笑 2022-11-25 09:22:48 +00:00 committed by Gitee
parent 2f940b0cd1
commit 518c971c88
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ public class AuthServiceImpl implements AuthService {
saBaseClientLoginUser.setPassword(null);
saBaseClientLoginUser.setPermissionCodeList(null);
saBaseClientLoginUser.setDataScopeList(null);
return StpClientLoginUserUtil.getClientLoginUser();
return saBaseClientLoginUser;
}
@Override