张钢
2024-09-11 e7a6728aea008cab5befa5980382370c32974ce5
app_base/src/main/java/com/android/app_base/http/interceptor/AuthInterceptor.java
@@ -61,7 +61,7 @@
            JSONObject responseObject = new JSONObject(string);
            int code = responseObject.getInt("code");
            if (code == BaseConfig.TOKEN_INVALID ) {
                UserManager.getInstance().clearToken();
                UserManager.getInstance().loginOut();
                AppManager.getAppManager().finishAllActivity();
                AppManager.getAppManager().startActivityForName(BaseConfig.LOGIN_ACTIVITY);
                throw new IOException("登录状态失效,请重新登录");