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