Ver Código Fonte

修复已知bug

hy 3 anos atrás
pai
commit
f5fd73484f

+ 1 - 1
app/src/main/java/com/electric/chargingpile/activity/SkipUserInfoActivity.java

@ -1016,7 +1016,7 @@ public class SkipUserInfoActivity extends Activity implements View.OnClickListen
1016 1016
                        }
1017 1017
                    }
1018 1018
1019
                    if (certificateStatus == 0) {
1019
                    if (certificateStatus == 0 || certificateStatus == -1) {
1020 1020
                        go_title.setText("认证车主");
1021 1021
                        go_desc.setText("审核中");
1022 1022
                        go_desc.setTextColor(Color.RED);

+ 2 - 2
app/src/main/java/com/electric/chargingpile/activity/UserInfoActivity.java

@ -430,7 +430,7 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
430 430
                break;
431 431
432 432
            case R.id.go_certificate:
433
                // 1 去认证  2审核中  3认证车主
433
                // -2 -> 去认证, -1 -> 认证失败,0 -> 审核中,1 -> 表示通过审核,2 -> 表示意向车型。
434 434
                if (certificateStatus == -2) {
435 435
                    getCarOwnerCertificateList(true);
436 436
                }
@ -1166,7 +1166,7 @@ public class UserInfoActivity extends Activity implements View.OnClickListener,
1166 1166
                        }
1167 1167
                    }
1168 1168
1169
                    if (certificateStatus == 0) {
1169
                    if (certificateStatus == 0 || certificateStatus == -1) {
1170 1170
                        go_title.setText("认证车主");
1171 1171
                        go_desc.setText("审核中");
1172 1172
                        go_desc.setTextColor(Color.RED);