|
|
@@ -647,7 +647,7 @@ public class TKHttpAPIService {
|
|
|
|
|
|
HttpHeaders httpHeaders = new HttpHeaders();
|
|
|
httpHeaders.add("tkCarRequestToken", token);
|
|
|
-
|
|
|
+ log.info("开始调用 preciseInitToVipQuote(核保),param={}", JSONObject.toJSONString(param));
|
|
|
StringResponse response = client.request(HttpURL.preciseInit, param, httpHeaders, StringResponse.class);
|
|
|
checkResponseUnknownField(response);
|
|
|
return decrypt(response, PreciseInitResult.class);
|
|
|
@@ -905,8 +905,9 @@ public class TKHttpAPIService {
|
|
|
param.setInsureInfo(insureInfo);
|
|
|
param.setAuthFailContinueFlag("");
|
|
|
param.setChannelEngages(new ArrayList<>());
|
|
|
-
|
|
|
+ log.info("开始调用 entranceFor000012,param={}", JSONObject.toJSONString(param));
|
|
|
EntranceResult.Response response = entranceForJson(token, param, "000012", EntranceResult.Response.class);
|
|
|
+ log.info("完成 entranceFor000012 调用,response={}", JSONObject.toJSONString(response));
|
|
|
return response.getData();
|
|
|
}
|
|
|
|
|
|
@@ -951,12 +952,14 @@ public class TKHttpAPIService {
|
|
|
param.setLeadsid("");
|
|
|
param.setChannelEngages(new ArrayList<>());
|
|
|
|
|
|
+ log.info("开始调用 entranceFor000038,param={}", JSONObject.toJSONString(param));
|
|
|
TKEntranceFor000038Result.Response response = entranceForDecrypt(token, param, "000038", TKEntranceFor000038Result.Response.class);
|
|
|
// if (response.getStatus() != 1) {
|
|
|
// throw new SystemException(response.getMessage());
|
|
|
// }
|
|
|
|
|
|
checkResponseUnknownField(response);
|
|
|
+ log.info("完成 entranceFor000038 调用,response={}", JSONObject.toJSONString(response));
|
|
|
return response;
|
|
|
}
|
|
|
|
|
|
@@ -1212,8 +1215,10 @@ public class TKHttpAPIService {
|
|
|
httpHeaders.add("tkCarRequestToken", token);
|
|
|
httpHeaders.add("Actiontype", "000021");
|
|
|
|
|
|
+ log.info("开始调用 entranceFor000021(支付链接预处理),param={}", JSONObject.toJSONString(param));
|
|
|
StringResponse response = client.request(HttpURL.entrance, param, httpHeaders, StringResponse.class);
|
|
|
TKEntranceFor000021Result.Response decrypt = decrypt(response, TKEntranceFor000021Result.Response.class);
|
|
|
+ log.info("调用 entranceFor000021 完成,tkEntranceFor000021Result={}", JSONObject.toJSONString(decrypt));
|
|
|
return decrypt.getData();
|
|
|
}
|
|
|
|
|
|
@@ -1245,8 +1250,10 @@ public class TKHttpAPIService {
|
|
|
httpHeaders.add("Actiontype", "000052");
|
|
|
httpHeaders.add("grayFlag", "pro");
|
|
|
|
|
|
+ log.info("开始调用 entranceFor000052,param={}", JSONObject.toJSONString(param));
|
|
|
StringResponse response = client.request(HttpURL.entrance, param, httpHeaders, StringResponse.class);
|
|
|
TKEntranceFor000052Result.Response decrypt = decrypt(response, TKEntranceFor000052Result.Response.class);
|
|
|
+ log.info("调用 entranceFor000052 完成,tkEntranceFor000052Result={}", JSONObject.toJSONString(decrypt));
|
|
|
return decrypt.getData();
|
|
|
}
|
|
|
|