浏览代码

添加泰康 保单、必要下载

wlq 1 年之前
父节点
当前提交
6f87f025d1

+ 13 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/client/HttpURL.java

@@ -104,4 +104,17 @@ public interface HttpURL {
      * 获取支付链接地址
      */
     String payForward = host + "/carSelfService/rest/pay/forward";
+
+    /**
+     * 保单pdf文件下载, base64格式
+     */
+    String proposalDownload = host + "/carSelfService/rest/proposal/download";
+    /**
+     * 交强险保单pdf文件下载,商业险保单pdf文件下载, base64格式
+     */
+    String imageDownloadPolicy = host + "/carSelfService/rest/image/download/policy";
+    /**
+     * 获取发票下载地址
+     */
+    String imageGetInvoiceURL = host + "/carSelfService/rest/image/getInvoiceURL";
 }

+ 17 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/ImageDownloadPolicyParam.java

@@ -0,0 +1,17 @@
+package com.jzg.quotation.taikang.model.api;
+
+import com.jzg.quotation.taikang.client.BaseRequest;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class ImageDownloadPolicyParam extends BaseRequest {
+    private String inputData;
+
+    /**
+     * 交强险保单号,或商业险保单号
+     *
+     */
+    private String subPolicyNo;
+}

+ 22 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/ImageGetInvoiceURLParam.java

@@ -0,0 +1,22 @@
+package com.jzg.quotation.taikang.model.api;
+
+import com.jzg.quotation.taikang.client.BaseRequest;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class ImageGetInvoiceURLParam  extends BaseRequest {
+    /**
+     * 交强险保单号,或商业险保单号
+     *
+     */
+    private String subPolicyNo;
+
+    /**
+     * 下载类型。
+     *
+     * PDF、XML、OFD
+     */
+    private String invoiceDownloadType;
+}

+ 49 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/ImageGetInvoiceURLResult.java

@@ -0,0 +1,49 @@
+package com.jzg.quotation.taikang.model.api;
+
+import com.jzg.quotation.taikang.client.BaseResponse;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class ImageGetInvoiceURLResult {
+    public static final class Response extends BaseResponse<ImageGetInvoiceURLResult> {
+    }
+
+    /**
+     * 发票XML格式下载链接
+     */
+    private String invoiceXML;
+
+    /**
+     * OFD格式发票下载链接
+     */
+    private String invoiceOFD;
+
+    /**
+     * 发票预览PDF链接
+     */
+    private String invoicePDF;
+
+    /**
+     * 新发票 PDF下载链接
+     */
+    private String newInvoicePDF;
+
+    /**
+     * 发票下载链接
+     *
+     * 对应请求下载类型的 url。
+     * 如果请求的 PDF 类型,值与 newInvoicePDF 一样。
+     * 如果请求的 OF 类型,值与 invoiceOFD 一样。
+     * 如果请求的 XML 类型,值与 invoiceXML 一样。
+     */
+    private String url;
+
+    /**
+     * 响应码
+     *
+     * 200
+     */
+    private String responseCode;
+}

+ 15 - 0
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/model/api/ProposalDownloadParam.java

@@ -0,0 +1,15 @@
+package com.jzg.quotation.taikang.model.api;
+
+import com.jzg.quotation.taikang.client.OrderRequest;
+import lombok.Getter;
+import lombok.Setter;
+
+@Setter
+@Getter
+public class ProposalDownloadParam extends OrderRequest {
+
+    /**
+     * 保单号
+     */
+    private String proposalNo;
+}

+ 68 - 3
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/client/HttpService.java → tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TKHttpAPIService.java

@@ -1,6 +1,7 @@
-package com.jzg.quotation.taikang.client;
+package com.jzg.quotation.taikang.service;
 
 import com.jzg.quotation.taikang.JsonUtil;
+import com.jzg.quotation.taikang.client.*;
 import com.jzg.quotation.taikang.model.api.*;
 import com.jzg.quotation.taikang.model.entity.TKAgentFuzzy;
 import com.jzg.quotation.taikang.model.entity.TKChgOwnerInfo;
@@ -17,8 +18,8 @@ import java.util.Map;
 
 @Setter
 @Service
-public class HttpService {
-    private static final Logger logger = LoggerFactory.getLogger(HttpService.class);
+public class TKHttpAPIService {
+    private static final Logger logger = LoggerFactory.getLogger(TKHttpAPIService.class);
 
     @Resource
     private HttpClient client;
@@ -926,4 +927,68 @@ public class HttpService {
 
         return result.getPayForwardUrl();
     }
+
+    /**
+     * 投保单pdf下载
+     *
+     * @param proposalNo
+     * @return base64格式
+     */
+    public String proposalDownload(String proposalNo) {
+        ProposalDownloadParam param = new ProposalDownloadParam();
+        param.setTplatformId(proposalNo);
+        //测试不传这两参数也可以
+        //param.setOrderId(null);
+        //param.setFromId(null);
+
+        StringResponse response = client.request(HttpURL.proposalDownload, param, null, StringResponse.class);
+
+        return response.getData();
+    }
+
+    /**
+     * 交强险保单pdf文件下载,商业险保单pdf文件下载
+     *
+     * subPolicyNo 的样子类似于 DilL5LttJwkObORFk0tQ8z6mrcm8c1X3PKtxC4D79II%3D 这种
+     *
+     * @param subPolicyNo  交强险保单号,商业险保单号
+     * @return base64格式
+     */
+    public String imageDownloadPolicy(String subPolicyNo) {
+        ImageDownloadPolicyParam param = new ImageDownloadPolicyParam();
+        param.setChannelCode("OffWeb");
+        //param.setInputData("2025-03-20 17:18:23");
+        param.setSubPolicyNo(subPolicyNo);
+
+        StringResponse response = client.request(HttpURL.imageDownloadPolicy, param, null, StringResponse.class);
+
+        return response.getData();
+    }
+
+    /**
+     * 获取发票下载地址
+     *
+     * @param subPolicyNo
+     * @return base64格式
+     */
+    public String imageGetInvoiceURL(String subPolicyNo, String downloadType) {
+        ImageGetInvoiceURLParam param = new ImageGetInvoiceURLParam();
+        param.setChannelCode("OffWeb");
+        param.setSubPolicyNo(subPolicyNo);
+        param.setInvoiceDownloadType(downloadType);
+
+        ImageGetInvoiceURLResult.Response response = client.request(HttpURL.imageGetInvoiceURL, param, null, ImageGetInvoiceURLResult.Response.class);
+
+        if (response != null) {
+            return null;
+        }
+
+        ImageGetInvoiceURLResult data = response.getData();
+
+        if (data != null) {
+            return null;
+        }
+
+        return data.getUrl();
+    }
 }

+ 2 - 4
tenant/insurance/quotation-taikang/src/main/java/com/jzg/quotation/taikang/service/TKQuotationBaseServiceImpl.java

@@ -10,7 +10,6 @@ import com.jzg.quotation.commons.entity.vo.quote.CarInfoVo;
 import com.jzg.quotation.commons.entity.vo.quote.KindInfoVo;
 import com.jzg.quotation.commons.entity.vo.quote.RiskInfoVo;
 import com.jzg.quotation.commons.service.QuotationBaseService;
-import com.jzg.quotation.taikang.client.HttpService;
 import com.jzg.quotation.taikang.model.TKLoginSession;
 import com.jzg.quotation.taikang.model.api.*;
 import com.jzg.quotation.taikang.model.entity.*;
@@ -19,7 +18,6 @@ import com.jzg.quotation.taikang.repository.TKPreciseInitResultRepository;
 import io.micrometer.core.instrument.simple.SimpleConfig;
 import jakarta.annotation.Resource;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.actuate.logging.LoggersEndpoint;
 import org.springframework.stereotype.Service;
 
 import java.util.ArrayList;
@@ -32,7 +30,7 @@ public class TKQuotationBaseServiceImpl implements QuotationBaseService {
     private SimpleConfig simpleConfig;
 
     @Resource
-    private HttpService httpService;
+    private TKHttpAPIService httpService;
 
     @Resource
     private TKSimpleService tkSimpleService;
@@ -252,7 +250,7 @@ public class TKQuotationBaseServiceImpl implements QuotationBaseService {
         TKLoginSession session = login("Tgengchenjie", "Gcj123456#");
 
         // todo
-        String url = httpService.payForward(session.getToken(), null, null);
+        String url = httpService.payForward(session.getToken(), session.getTplatformId(), null);
 
         return url;
     }

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

@@ -5,7 +5,6 @@ import com.jzg.quotation.commons.constant.enums.quote.VehicleUseCode;
 import com.jzg.quotation.commons.entity.vo.aggregated.QuoteVo;
 import com.jzg.quotation.commons.entity.vo.quote.*;
 import com.jzg.quotation.commons.filter.CarModelsFilterUtils;
-import com.jzg.quotation.taikang.client.HttpService;
 import com.jzg.quotation.taikang.model.TKLoginSession;
 import com.jzg.quotation.taikang.model.api.*;
 import com.jzg.quotation.taikang.model.entity.*;
@@ -23,7 +22,7 @@ import java.util.Map;
 public class TKSimpleService {
 
     @Resource
-    private HttpService httpService;
+    private TKHttpAPIService httpService;
 
     public TKLoginSession login(String username, String password) {
         IdentityTokenResult identityTokenResult = httpService.identityToken();

+ 76 - 75
tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/client/HttpServiceTest1.java → tenant/insurance/quotation-taikang/src/test/java/com/jzg/quotation/taikang/client/TKHttpAPIServiceTest1.java

@@ -6,6 +6,7 @@ import com.jzg.quotation.commons.component.RequestComponent;
 import com.jzg.quotation.commons.config.WebClientConfig;
 import com.jzg.quotation.taikang.model.api.*;
 import com.jzg.quotation.taikang.model.entity.*;
+import com.jzg.quotation.taikang.service.TKHttpAPIService;
 import net.sf.cglib.beans.BeanCopier;
 import org.junit.jupiter.api.*;
 import org.springframework.web.reactive.function.client.WebClient;
@@ -19,8 +20,8 @@ import java.util.Map;
 import static org.junit.jupiter.api.Assertions.*;
 
 @TestMethodOrder(MethodOrderer.OrderAnnotation.class)
-public class HttpServiceTest1 {
-    private static HttpService httpService;
+public class TKHttpAPIServiceTest1 {
+    private static TKHttpAPIService httpService;
 
     private static String orderID;
 
@@ -42,7 +43,7 @@ public class HttpServiceTest1 {
 
         client.setRequestComponent(requestComponent);
 
-        httpService = new HttpService();
+        httpService = new TKHttpAPIService();
         httpService.setClient(client);
     }
 
@@ -83,14 +84,14 @@ public class HttpServiceTest1 {
 
         assertNull(unknownFields);
 
-        HttpServiceTest1.loginResult = result;
+        TKHttpAPIServiceTest1.loginResult = result;
     }
 
     @Test
     @Order(1)
     public void identityToken() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 通过临时 token 获取正式 token
         IdentityTokenResult result = httpService.identityToken(null, tplatformId);
@@ -129,13 +130,13 @@ public class HttpServiceTest1 {
     @Order(2)
     public void initIdentity() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
 
@@ -159,13 +160,13 @@ public class HttpServiceTest1 {
     @Order(3)
     public void basicInfo() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
         BasicInfoResult result = httpService.basicInfo(tokenResult.getTkCarRequestToken(), tplatformId, tplatLoginKey, fromid, "WBPC202503070952533790000");
 
@@ -185,13 +186,13 @@ public class HttpServiceTest1 {
     @Order(4)
     public void carType() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
         List<CarTypeResult> result = httpService.carType(tokenResult.getTkCarRequestToken(), tplatformId, fromid, comCode);
@@ -212,17 +213,17 @@ public class HttpServiceTest1 {
         }
 
 
-        HttpServiceTest1.carTypeResults = result;
+        TKHttpAPIServiceTest1.carTypeResults = result;
     }
 
     @Test
     @Order(5)
     public void agentFuzzy() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
 
@@ -246,19 +247,19 @@ public class HttpServiceTest1 {
             assertNull(unknownFields);
         }
 
-        HttpServiceTest1.agentFuzzyResults = result;
+        TKHttpAPIServiceTest1.agentFuzzyResults = result;
     }
 
     @Test
     @Order(6)
     public void agentQuery() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
-        TKAgentFuzzy tkAgentFuzzy = HttpServiceTest1.agentFuzzyResults.get(HttpServiceTest1.agentFuzzyResults.size() - 1);
+        TKAgentFuzzy tkAgentFuzzy = TKHttpAPIServiceTest1.agentFuzzyResults.get(TKHttpAPIServiceTest1.agentFuzzyResults.size() - 1);
 
         TKAgentQueryResult result = httpService.agentQuery(tokenResult.getTkCarRequestToken(), tplatformId, "WBPC202503051401086530000", tkAgentFuzzy, "R35016546");
 
@@ -274,17 +275,17 @@ public class HttpServiceTest1 {
 
         assertNull(unknownFields);
 
-        HttpServiceTest1.agentQueryResult = result;
+        TKHttpAPIServiceTest1.agentQueryResult = result;
     }
 
     @Test
     @Order(7)
     public void areaUser() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 注意这个 fromId 不是 67107 ,而是 64827。不能使用 TaiKangHttpServiceTest.loginResult 上的 fromId
-        AgentFuzzyResult agentFuzzyResult = HttpServiceTest1.agentFuzzyResults.get(HttpServiceTest1.agentFuzzyResults.size() - 1);
+        AgentFuzzyResult agentFuzzyResult = TKHttpAPIServiceTest1.agentFuzzyResults.get(TKHttpAPIServiceTest1.agentFuzzyResults.size() - 1);
 
 
         List<AreaUserResult> result = httpService.areaUser(tokenResult.getTkCarRequestToken(), tplatformId, "WBPC202503051401086530000", agentFuzzyResult, "R35016546");
@@ -330,16 +331,16 @@ public class HttpServiceTest1 {
     @Disabled
     public void carModelinfoQuery1() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
 
@@ -350,9 +351,9 @@ public class HttpServiceTest1 {
 
         TKAgent agent = new TKAgent();
 
-        beanCopier1.copy(HttpServiceTest1.agentQueryResult, agent, null);
+        beanCopier1.copy(TKHttpAPIServiceTest1.agentQueryResult, agent, null);
 
-        AgentFuzzyResult agentFuzzyResult = HttpServiceTest1.agentFuzzyResults.get(HttpServiceTest1.agentFuzzyResults.size() - 1);
+        AgentFuzzyResult agentFuzzyResult = TKHttpAPIServiceTest1.agentFuzzyResults.get(TKHttpAPIServiceTest1.agentFuzzyResults.size() - 1);
 
         agent.setIntermediaryCode(agentFuzzyResult.getIntermediaryCode());
         agent.setIntermediaryName(agentFuzzyResult.getIntermediaryName());
@@ -417,16 +418,16 @@ public class HttpServiceTest1 {
     //@Disabled
     public void carModelinfoQuery2() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
 
@@ -437,9 +438,9 @@ public class HttpServiceTest1 {
 
         TKAgent agent = new TKAgent();
 
-        beanCopier1.copy(HttpServiceTest1.agentQueryResult, agent, null);
+        beanCopier1.copy(TKHttpAPIServiceTest1.agentQueryResult, agent, null);
 
-        AgentFuzzyResult agentFuzzyResult = HttpServiceTest1.agentFuzzyResults.get(HttpServiceTest1.agentFuzzyResults.size() - 1);
+        AgentFuzzyResult agentFuzzyResult = TKHttpAPIServiceTest1.agentFuzzyResults.get(TKHttpAPIServiceTest1.agentFuzzyResults.size() - 1);
 
         agent.setIntermediaryCode(agentFuzzyResult.getIntermediaryCode());
         agent.setIntermediaryName(agentFuzzyResult.getIntermediaryName());
@@ -614,16 +615,16 @@ public class HttpServiceTest1 {
     @Order(11)
     public void saveBasicInfo() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
 
@@ -649,7 +650,7 @@ public class HttpServiceTest1 {
         carInfo.setLicenseNo("晋LEL232");
         carInfo.setBrandName("奥迪FV7251FBCBG轿车");
         carInfo.setPurchasePrice("380000");
-        carInfo.setExhaustScale(new BigDecimal("2498"));
+        carInfo.setExhaustScale("2498");
         carInfo.setSeatFlag("1");
 
         TKCarModel TKCarModel = new TKCarModel();
@@ -804,10 +805,10 @@ public class HttpServiceTest1 {
     @Order(12)
     public void initQuote() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
 
 
@@ -831,10 +832,10 @@ public class HttpServiceTest1 {
     @Order(13)
     public void preciseInitToInit1() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
 
 
@@ -859,10 +860,10 @@ public class HttpServiceTest1 {
     @Order(13)
     public void preciseInitToInit2() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
 
 
@@ -895,16 +896,16 @@ public class HttpServiceTest1 {
     @Order(14)
     public void agentTax() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
 
@@ -964,16 +965,16 @@ public class HttpServiceTest1 {
     @Order(15)
     public void saveQuote() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
 
@@ -998,16 +999,16 @@ public class HttpServiceTest1 {
     @Order(16)
     public void floatNoticeGet() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
         FloatNoticeGetResult result = httpService.floatNoticeGet(tplatformId,  "WBPC202503071419220680000");
@@ -1029,16 +1030,16 @@ public class HttpServiceTest1 {
     @Order(17)
     public void initProposal() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
 
         InitProposalResult result = httpService.initProposal(tokenResult.getTkCarRequestToken(), tplatformId,  tplatLoginKey, "WBPC202503071419220680000");
@@ -1094,16 +1095,16 @@ public class HttpServiceTest1 {
     @Order(19)
     public void initFindRiskConfig() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
         EngageEngageQueryParam.Privy privy = new EngageEngageQueryParam.Privy();
 
@@ -1119,16 +1120,16 @@ public class HttpServiceTest1 {
     @Order(20)
     public void groupOrderGetNewNoticeStatus() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
         EngageEngageQueryParam.Privy privy = new EngageEngageQueryParam.Privy();
 
@@ -1144,16 +1145,16 @@ public class HttpServiceTest1 {
     @Order(21)
     public void entrance() {
         // feda77e829d4dedbbd8b4e236bacfac5
-        String tplatformId = HttpServiceTest1.loginResult.getTplatformId();
+        String tplatformId = TKHttpAPIServiceTest1.loginResult.getTplatformId();
 
         // 0114
-        String comCode = HttpServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
+        String comCode = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getWebsysUserAreaVos().get(0).getAreacode();
 
         // 1e6cbb3bf08e8cb8f8c684cff0ee5e161
-        String tplatLoginKey = HttpServiceTest1.loginResult.getTplatLoginKey();
+        String tplatLoginKey = TKHttpAPIServiceTest1.loginResult.getTplatLoginKey();
 
         // 67107
-        String fromid = HttpServiceTest1.loginResult.getWebsysUserVo().getFromid();
+        String fromid = TKHttpAPIServiceTest1.loginResult.getWebsysUserVo().getFromid();
 
         EngageEngageQueryParam.Privy privy = new EngageEngageQueryParam.Privy();