update 优化 isLogin 判断逻辑

dev
疯狂的狮子Li 5 months ago
parent 3f1e97da2b
commit 4a637756bb

@ -207,7 +207,8 @@ public class LoginHelper {
*/ */
public static boolean isLogin() { public static boolean isLogin() {
try { try {
return getLoginUser() != null; StpUtil.checkLogin();
return true;
} catch (Exception e) { } catch (Exception e) {
return false; return false;
} }

Loading…
Cancel
Save