|
@@ -149,22 +149,6 @@ public class GameCertificationActivity extends BaseActivity {
|
|
|
Jump2View.getInstance().goLoginViewWithoutFinish(this, SheepApp.getInstance().getGameCode());
|
|
Jump2View.getInstance().goLoginViewWithoutFinish(this, SheepApp.getInstance().getGameCode());
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- private void commitChange() {
|
|
|
|
|
- //todo
|
|
|
|
|
- CommonUtil.getInstance().checkAuth("", (ret) -> {
|
|
|
|
|
- if (ret) {
|
|
|
|
|
- loading_view_img.setVisibility(View.VISIBLE);
|
|
|
|
|
- new Handler().postDelayed(() -> {
|
|
|
|
|
- //todo
|
|
|
|
|
- CertificationUtil.newInstance().authCertificationCode(this, "");
|
|
|
|
|
- }, 2000);
|
|
|
|
|
- } else {
|
|
|
|
|
- Toast.makeText(this, "授权有效期已过,需要重新登录", Toast.LENGTH_SHORT).show();
|
|
|
|
|
- Jump2View.getInstance().goLoginViewWithoutFinish(this, SheepApp.getInstance().getGameCode());
|
|
|
|
|
- }
|
|
|
|
|
- });
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
private void hasToken() {
|
|
private void hasToken() {
|
|
|
if (userList.isEmpty()) {
|
|
if (userList.isEmpty()) {
|
|
|
Jump2View.getInstance().goLoginViewWithoutFinish(this, SheepApp.getInstance().getGameCode());
|
|
Jump2View.getInstance().goLoginViewWithoutFinish(this, SheepApp.getInstance().getGameCode());
|