Commit 8400bdac authored by liwenbin's avatar liwenbin

ix

parent 210a7969
......@@ -91,7 +91,7 @@ public class HttpClientConfig {
return true;
HttpClientContext clientContext = HttpClientContext.adapt(arg2);
HttpRequest request = clientContext.getRequest();
if (!(request instanceof HttpEntityEnclosingRequest)) // 如果请求被认为是幂等的,那么就重试。即重复执行不影响程序其他效果的
if (!(request instanceof HttpEntityEnclosingRequest)) // 如果请求被认为是幂等的,那么就重试。即重复执行不影响程序其他效果的
return true;
return false;
}
......
......@@ -33,7 +33,7 @@ import java.util.Map;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = AssetDistributionBootstrap.class)
public class NiwodaiTest {
@Autowired
private INiwodaiService niwodaiService;
@Autowired
......@@ -53,7 +53,7 @@ public class NiwodaiTest {
private void init() {
userSdkService = UserSdkServiceFactory.generateSDKService(userSysUrl, httpClient);
}
@Test
public void testCheck() throws Exception {
NiwodaiDataImportCheckResponseVO responseVO = niwodaiAssetService.preAudit("9f7f857c-10c3-42aa-8fc5-31c37e988b3e");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment