mirror of https://gitee.com/xiaonuobase/snowy
update AuthServiceImpl.java.
原写法导致 set null 不生效,getClientLoginUser() 多次调用返回不同对象 Signed-off-by: 微笑 <1572089876@qq.com>pull/62/head
parent
2f940b0cd1
commit
518c971c88
|
@ -354,7 +354,7 @@ public class AuthServiceImpl implements AuthService {
|
||||||
saBaseClientLoginUser.setPassword(null);
|
saBaseClientLoginUser.setPassword(null);
|
||||||
saBaseClientLoginUser.setPermissionCodeList(null);
|
saBaseClientLoginUser.setPermissionCodeList(null);
|
||||||
saBaseClientLoginUser.setDataScopeList(null);
|
saBaseClientLoginUser.setDataScopeList(null);
|
||||||
return StpClientLoginUserUtil.getClientLoginUser();
|
return saBaseClientLoginUser;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue