|
@@ -735,4 +735,27 @@ public class TaiKangHttpService {
|
|
|
|
|
|
|
|
return response.getData();
|
|
return response.getData();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ *
|
|
|
|
|
+ *
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public EntranceResult entrance(String tplatformId, String fromId, String orderId) {
|
|
|
|
|
+ EntranceParam param = new EntranceParam();
|
|
|
|
|
+ param.setChannelCode("OffWeb");
|
|
|
|
|
+ param.setFromID(fromId);
|
|
|
|
|
+ param.setOrderID(orderId);
|
|
|
|
|
+ param.setLeadsid("");
|
|
|
|
|
+ param.setReadTime("");
|
|
|
|
|
+ param.setIdcardOcrFlag("");
|
|
|
|
|
+ param.setCollectFlag("");
|
|
|
|
|
+
|
|
|
|
|
+ HttpHeaders httpHeaders = new HttpHeaders();
|
|
|
|
|
+ httpHeaders.add("tkCarRequestToken", token());
|
|
|
|
|
+
|
|
|
|
|
+ EntranceResult.Response response = client.request(HttpURL.entrance, param, httpHeaders, EntranceResult.Response.class);
|
|
|
|
|
+
|
|
|
|
|
+ return response.getData();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|