|
@@ -310,4 +310,24 @@ public class TaiKangHttpService {
|
|
|
|
|
|
|
|
return response.getData();
|
|
return response.getData();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 11
|
|
|
|
|
+ *
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public InitQuoteResult initQuote(String tplatformId, String orderId) {
|
|
|
|
|
+ InitQuoteParam param = new InitQuoteParam();
|
|
|
|
|
+ param.setChannelCode("OffWeb");
|
|
|
|
|
+ param.setOrderID(orderId);
|
|
|
|
|
+ param.setTplatformId(tplatformId);
|
|
|
|
|
+ param.setTplatLoginKey("5fb6bdba974e17ec0db8c8ad4faab1ba1");
|
|
|
|
|
+
|
|
|
|
|
+ HttpHeaders httpHeaders = new HttpHeaders();
|
|
|
|
|
+ httpHeaders.add("tkCarRequestToken", token());
|
|
|
|
|
+
|
|
|
|
|
+ InitQuoteResult.Response response = client.requestUrl(HttpURL.initQuote, param, InitQuoteResult.Response.class, httpHeaders);
|
|
|
|
|
+
|
|
|
|
|
+ return response.getData();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|