|
|
@@ -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();
|
|
|
|