tao.mo

ATM发送报文数据接口调用错误

mt
2023年9月21日15:50:04
...@@ -211,8 +211,7 @@ public class ApiService { ...@@ -211,8 +211,7 @@ public class ApiService {
211 }); 211 });
212 this.sendMawb(token,mawbList); 212 this.sendMawb(token,mawbList);
213 }catch(Exception ex){ 213 }catch(Exception ex){
214 - 214 + log.error(ex.getMessage(),ex);
215 - log.error(ex.getMessage(),ex);
216 } 215 }
217 } 216 }
218 /** 217 /**
...@@ -245,7 +244,7 @@ public class ApiService { ...@@ -245,7 +244,7 @@ public class ApiService {
245 declearTask.setPushTime(new Date()); 244 declearTask.setPushTime(new Date());
246 String objJson = JsonToJava.toJson(d); 245 String objJson = JsonToJava.toJson(d);
247 //推送海关回执数据 246 //推送海关回执数据
248 - String json = HttpUtils.doProxyPost(this.customsUrl,objJson,headerMap,this.proxyUrl,this.proxyPort); 247 + String json = HttpUtils.doProxyPost(this.completeMsgUrl,objJson,headerMap,this.proxyUrl,this.proxyPort);
249 log.info("sendMawb:"+json); 248 log.info("sendMawb:"+json);
250 //接口响应时间 249 //接口响应时间
251 declearTask.setResponseTime(new Date()); 250 declearTask.setResponseTime(new Date());
......