|
@@ -73,7 +73,7 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
|
|
|
formParams.put("jsons", jsonStr);
|
|
formParams.put("jsons", jsonStr);
|
|
|
|
|
|
|
|
System.out.println("====" + formParams);
|
|
System.out.println("====" + formParams);
|
|
|
- HttpResponse response = HttpRequest.post("http://"+kdHost+":70/xk/dyzn/WsBasedyzn.asmx/")//todo 待完善接口
|
|
|
|
|
|
|
+ HttpResponse response = HttpRequest.post(kdHost+"/xk/dyzn/WsBasedyzn.asmx/")//todo 待完善接口
|
|
|
.headerMap(headers, true)
|
|
.headerMap(headers, true)
|
|
|
.form(formParams)
|
|
.form(formParams)
|
|
|
.timeout(30000) // 30秒超时
|
|
.timeout(30000) // 30秒超时
|
|
@@ -197,13 +197,13 @@ public class KdYdCustomerServiceImpl extends ServiceImpl<KdYdCustomerMapper, KdY
|
|
|
// 发送请求
|
|
// 发送请求
|
|
|
HttpResponse response = null;
|
|
HttpResponse response = null;
|
|
|
if (action == "add") {
|
|
if (action == "add") {
|
|
|
- response = HttpRequest.post("http://"+kdHost+":70/xk/dyzn/WsBasedyzn.asmx/")//todo 修改接口
|
|
|
|
|
|
|
+ response = HttpRequest.post(kdHost+"/xk/dyzn/WsBasedyzn.asmx/")//todo 修改接口
|
|
|
.headerMap(headers, true)
|
|
.headerMap(headers, true)
|
|
|
.form(formParams)
|
|
.form(formParams)
|
|
|
.timeout(30000) // 30秒超时
|
|
.timeout(30000) // 30秒超时
|
|
|
.execute();
|
|
.execute();
|
|
|
} else {
|
|
} else {
|
|
|
- response = HttpRequest.post("http://"+kdHost+":70/xk/dyzn/WsBasedyzn.asmx/")
|
|
|
|
|
|
|
+ response = HttpRequest.post(kdHost+"/xk/dyzn/WsBasedyzn.asmx/")
|
|
|
.headerMap(headers, true)
|
|
.headerMap(headers, true)
|
|
|
.form(formParams)
|
|
.form(formParams)
|
|
|
.timeout(30000) // 30秒超时
|
|
.timeout(30000) // 30秒超时
|