Commit 68b9f221 by chaizheng

大搜车工单需求

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26745 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 626c8f1a
...@@ -91,6 +91,7 @@ public class DscCancelOrderFeedBackTask implements Runnable{ ...@@ -91,6 +91,7 @@ public class DscCancelOrderFeedBackTask implements Runnable{
} }
try { try {
HttpUtils httpUtils = new HttpUtils(); HttpUtils httpUtils = new HttpUtils();
logger.info("请求大搜车接口地址:"+daSouCheUrl);
String result = httpUtils.postJson(daSouCheUrl,JSON.toJSONString(daSouCheRequest)); String result = httpUtils.postJson(daSouCheUrl,JSON.toJSONString(daSouCheRequest));
logger.info("大搜车撤单反馈接口返回:"+result); logger.info("大搜车撤单反馈接口返回:"+result);
} catch (Exception e) { } catch (Exception e) {
......
...@@ -117,6 +117,7 @@ public class DscInstallOrderFeedBackTask implements Runnable{ ...@@ -117,6 +117,7 @@ public class DscInstallOrderFeedBackTask implements Runnable{
try { try {
String sign = SoucheSignature.sign(map,appSecret); String sign = SoucheSignature.sign(map,appSecret);
daSouCheRequest.setSign(sign); daSouCheRequest.setSign(sign);
logger.info("请求大搜车接口地址:"+daSouCheUrl);
logger.info("请求大搜车安装反馈参数:"+JSON.toJSONString(daSouCheRequest)); logger.info("请求大搜车安装反馈参数:"+JSON.toJSONString(daSouCheRequest));
} catch (SoucheApiException e) { } catch (SoucheApiException e) {
e.printStackTrace(); e.printStackTrace();
......
...@@ -101,6 +101,7 @@ public class DscRemoveOrderFeedBackTask implements Runnable{ ...@@ -101,6 +101,7 @@ public class DscRemoveOrderFeedBackTask implements Runnable{
logger.error("大搜车拆除单反馈生成签名sign发生异常!"); logger.error("大搜车拆除单反馈生成签名sign发生异常!");
} }
try { try {
logger.info("请求大搜车接口地址:"+daSouCheUrl);
String result = HttpUtil.postData(daSouCheUrl,JSON.toJSONString(daSouCheRequest), ContentType.APPLICATION_JSON); String result = HttpUtil.postData(daSouCheUrl,JSON.toJSONString(daSouCheRequest), ContentType.APPLICATION_JSON);
logger.info("大搜车拆除单反馈接口返回:"+result); logger.info("大搜车拆除单反馈接口返回:"+result);
} catch (IOException e) { } catch (IOException e) {
......
...@@ -158,6 +158,7 @@ public class DscRepairOrderFeedBackTask implements Runnable{ ...@@ -158,6 +158,7 @@ public class DscRepairOrderFeedBackTask implements Runnable{
logger.error("大搜车检修单反馈生成签名sign发生异常!"); logger.error("大搜车检修单反馈生成签名sign发生异常!");
} }
try { try {
logger.info("请求大搜车接口地址:"+daSouCheUrl);
String result = HttpUtil.postData(daSouCheUrl,JSON.toJSONString(daSouCheRequest), ContentType.APPLICATION_JSON); String result = HttpUtil.postData(daSouCheUrl,JSON.toJSONString(daSouCheRequest), ContentType.APPLICATION_JSON);
logger.info("大搜车检修单反馈接口返回:"+result); logger.info("大搜车检修单反馈接口返回:"+result);
} catch (IOException e) { } catch (IOException e) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!