|
@@ -75,6 +75,7 @@ public class ZhongJiaoXingLu {
|
|
|
|
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
String res = des.postHttps(url, map);
|
|
String res = des.postHttps(url, map);
|
|
|
|
+ System.out.println("visualRoute"+res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
if (jsonObject.get("status").toString().equals(1016+"")){
|
|
if (jsonObject.get("status").toString().equals(1016+"")){
|
|
login();
|
|
login();
|
|
@@ -150,6 +151,7 @@ public class ZhongJiaoXingLu {
|
|
|
|
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
String res = des.postHttps(url, map);
|
|
String res = des.postHttps(url, map);
|
|
|
|
+ System.out.println("subAbnormalLineWarnV2"+res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
if (jsonObject.get("status").toString().equals(1016+"")){
|
|
if (jsonObject.get("status").toString().equals(1016+"")){
|
|
login();
|
|
login();
|
|
@@ -184,6 +186,7 @@ public class ZhongJiaoXingLu {
|
|
|
|
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
String res = des.postHttps(url, map);
|
|
String res = des.postHttps(url, map);
|
|
|
|
+ System.out.println("netValidation"+res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
if (jsonObject.get("status").toString().equals(1016+"")){
|
|
if (jsonObject.get("status").toString().equals(1016+"")){
|
|
login();
|
|
login();
|
|
@@ -206,6 +209,7 @@ public class ZhongJiaoXingLu {
|
|
DataExchangeService des = new DataExchangeService(5000, 8000);
|
|
DataExchangeService des = new DataExchangeService(5000, 8000);
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
// 通过 https 方式调用,此方法内部会使用私钥生成签名参数 sign,私钥不会发送
|
|
String res = des.postHttps(url, map);
|
|
String res = des.postHttps(url, map);
|
|
|
|
+ System.out.println("login"+res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
this.token=jsonObject.get("result").toString();
|
|
this.token=jsonObject.get("result").toString();
|
|
//System.out.println("返回:"+ res);
|
|
//System.out.println("返回:"+ res);
|