Browse Source

修复已知bug

hy 3 years ago
parent
commit
f5fd73484f

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

1016
                        }
1016
                        }
1017
                    }
1017
                    }
1018
1018
1019
                    if (certificateStatus == 0) {
1019
                    if (certificateStatus == 0 || certificateStatus == -1) {
1020
                        go_title.setText("认证车主");
1020
                        go_title.setText("认证车主");
1021
                        go_desc.setText("审核中");
1021
                        go_desc.setText("审核中");
1022
                        go_desc.setTextColor(Color.RED);
1022
                        go_desc.setTextColor(Color.RED);

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

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