feat: 小调整
This commit is contained in:
parent
30b2073999
commit
63ed4ef299
|
|
@ -106,7 +106,7 @@ public class SessionUtil {
|
|||
return getUser().getSessionKey();
|
||||
}
|
||||
|
||||
private static LoginUserInfoDTO getUser() {
|
||||
public static LoginUserInfoDTO getUser() {
|
||||
return Optional.ofNullable(BaseApi.loginUser.get())
|
||||
.orElseThrow(() -> new NflgBusinessException(STATE.LoginError, "请登录"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue