Bladeren bron

支付链接

helixiao 1 jaar geleden
bovenliggende
commit
0a9a583e1c

+ 3 - 1
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/crawler/model/api/TKEntranceFor000012Param.java

@@ -5,13 +5,15 @@ import com.jzg.quotation.taikang.crawler.model.entity.TKInsureInfo;
 import lombok.Getter;
 import lombok.Setter;
 
+import java.util.List;
+
 @Setter
 @Getter
 public class TKEntranceFor000012Param extends OrderRequest {
     /**
      * 渠道特约列表(此处为空)
      */
-    //private List<Object> channelEngages;
+    private List<Object> channelEngages;
 
     /**
      * 潜在客户ID(此处为空)

+ 3 - 2
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/crawler/service/TKHttpAPIService.java

@@ -977,6 +977,8 @@ public class TKHttpAPIService {
         param.setFromID(fromId);
         param.setOrderID(orderId);
         param.setInsureInfo(insureInfo);
+        param.setAuthFailContinueFlag("");
+        param.setChannelEngages(new ArrayList<>());
 
         EntranceResult.Response response = entranceForJson(token, param, "000012", EntranceResult.Response.class);
 
@@ -1021,7 +1023,6 @@ public class TKHttpAPIService {
         param.setCollectFlag("");
         param.setRetrospectId(UUID.randomUUID().toString());
         param.setReadTime("");
-        param.setProposalType(2);
         param.setLeadsid("");
         param.setChannelEngages(new ArrayList<>());
 
@@ -1318,7 +1319,7 @@ public class TKHttpAPIService {
         tkReceiveParam.setStatus("0");
         tkReceiveParam.setFromId(fromId);
         tkReceiveParam.setReservation1("2021-10-28");
-        tkReceiveParam.setReservation2("");
+        tkReceiveParam.setReservation2(tkEntranceFor000038Result.getLicenseNo());
 
         HttpHeaders httpHeaders = new HttpHeaders();
         httpHeaders.add("token", token);

+ 0 - 2
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/crawler/service/TKSimpleService.java

@@ -1154,8 +1154,6 @@ public class TKSimpleService {
 
         TKEntranceFor000052Result tkEntranceFor000052Result = httpService.entranceFor000052(token, tkEntranceFor000038Result);
 
-        TKReceiveResult tkReceiveResult = httpService.receiveInfo(token,mainOrderId,fromId,tkEntranceFor000038Result);
-
         return tkEntranceFor000038Result;
     }
 

File diff suppressed because it is too large
+ 3 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/crawler/service/impl/TKQuotationBaseServiceImpl.java


+ 2 - 2
tenant/insurance/quotation-taikang/src/test/http/AA.http

@@ -83,9 +83,9 @@ tkCarRequestToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXFNYXAiOiJ7XCJjYXJS
 
 POST https://car.tk.cn/carSelfService/rest/pay/forward
 Content-Type: application/json
-tkCarRequestToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXFNYXAiOiJ7XCJjYXJSZXF1ZXN0SWRcIjpcIlRPS0UyMDI1MDgwNTE2MDU1ODQzODAwMDBcIn0iLCJpc3MiOiJ0ay5jbiIsImV4cCI6MTc1NDQ2NzU1OH0.OXno2Verg9G980AE9GfIEognXBQ3iG1qAWPbcujfuso
+tkCarRequestToken: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyZXFNYXAiOiJ7XCJjYXJSZXF1ZXN0SWRcIjpcIlRPS0UyMDI1MDgwNzE0MTQwNjgxNzAwMDBcIn0iLCJpc3MiOiJ0ay5jbiIsImV4cCI6MTc1NDYzMzY0Nn0.WmzS0QIpNRvavWNaeuypGLAgl_fBMgwAmL2Hbp6juxg
 
-{"channelCode":"OffWeb","tplatformId":"feda77e829d4dedbbd8b4e236bacfac5","proposalNo":"00671070807142500000030925"}
+{"channelCode":"OffWeb","tplatformId":"feda77e829d4dedbbd8b4e236bacfac5","proposalNo":"00671070807142500000031381"}
 ### {"channelCode":"OffWeb","tplatformId":"feda77e829d4dedbbd8b4e236bacfac5","proposalNo":"00671070807142500000030622"}
 ### 订单状态
 

Some files were not shown because too many files changed in this diff