|
|
6015
|
if (list.get(i).getStatus()!= 2){ //不等于2 则表示为认证车型
|
|
|
6016
|
isType=true;
|
|
|
6017
|
}
|
|
|
6018
|
}
|
|
|
6019
|
if (isType){
|
|
|
6020
|
Intent intent = new Intent(getApplication(), CarOwnerCertificateListActivity.class);
|
|
|
6021
|
intent.putExtra("data", data);
|
|
|
6022
|
startActivity(intent);
|
|
|
6023
|
}else{
|
|
|
6024
|
CarOwnerCertificateActivity.actionStart(MainMapActivity.this);
|
|
|
6025
|
}
|
|
|
6026
|
}
|
|
|
6027
|
}
|
|
|
6028
|
} else {
|
|
|
6029
|
String rtnMsg = JsonUtils.getKeyResult(response, "rtnMsg");
|
|
|
6030
|
Toast.makeText(getApplicationContext(), rtnMsg, Toast.LENGTH_SHORT).show();
|
|
|
6031
|
}
|
|
|
6032
|
}
|
|
|
6033
|
});
|
|
|
6034
|
}
|
|
|
6035
|
|
|
|
6036
|
|
|
5968
|
6037
|
private void switchRecommend() {
|
|
5969
|
6038
|
OkHttpUtils.get().url(MainApplication.url + "/zhannew/basic/web/index.php/zhangonggao/switchindex").build().connTimeOut(3000).readTimeOut(3000)
|
|
5970
|
6039
|
.execute(new StringCallback() {
|