hanjing 6 anos atrás
pai
commit
6cb96f0925

+ 6 - 2
app/src/main/java/com/sheep/gamegroup/view/activity/GameCertificationActivity.java

@@ -240,13 +240,17 @@ public class GameCertificationActivity extends BaseActivity {
     private void hasToken() {
         String token = SpUtils.getToken(SheepApp.getInstance());
         if (TextUtils.isEmpty(token)) {
-            Jump2View.getInstance().goLoginView(activity, SheepApp.getInstance().getGameCode());
+            if (userList.isEmpty()) {
+                Jump2View.getInstance().goLoginViewWithoutFinish(activity, SheepApp.getInstance().getGameCode());
+            }
         } else {
             showProgress();
             CommonUtil.getInstance().updateUserInfo(result -> {
                 hideProgress();
                 if (result == null) {
-                    Jump2View.getInstance().goLoginView(activity, SheepApp.getInstance().getGameCode());
+                    if (userList.isEmpty()) {
+                        Jump2View.getInstance().goLoginView(activity, SheepApp.getInstance().getGameCode());
+                    }
                 } else {
                     userEntity = result;
                     initWidget();