fix 修复 isLogin 方法抛异常无法正常返回值问题

dev
疯狂的狮子Li 1 year ago
parent e6c5d67327
commit 8fa4f3b448

@ -193,7 +193,11 @@ public class LoginHelper {
* @return * @return
*/ */
public static boolean isLogin() { public static boolean isLogin() {
try {
return getLoginUser() != null; return getLoginUser() != null;
} catch (Exception e) {
return false;
}
} }
} }

Loading…
Cancel
Save