|
|
|
@ -367,7 +367,7 @@ public class ElephantUtils { |
|
|
|
|
// 最终接口地址
|
|
|
|
|
String url = host + uri; |
|
|
|
|
|
|
|
|
|
DxhyInterfaceResponse dxhyInterfaceResponse = null; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 封装大象v6调用类
|
|
|
|
|
DxhyInterfaceRequest dxhyInterfaceRequest = new DxhyInterfaceRequest(); |
|
|
|
@ -396,11 +396,16 @@ public class ElephantUtils { |
|
|
|
|
// 不加密
|
|
|
|
|
dxhyInterfaceRequest.setEncryptCode("0"); |
|
|
|
|
|
|
|
|
|
DxhyInterfaceResponse dxhyInterfaceResponse = null; |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
// 大象v6调用方法(获取结果处理)
|
|
|
|
|
log.info("【销项】【大象工具类】调用V6接口,入参{}",JSONUtil.toJsonStr(dxhyInterfaceRequest)); |
|
|
|
|
dxhyInterfaceResponse = InvokeDxhyApi.dxhyInterfaceInvoke(dxhyInterfaceRequest); |
|
|
|
|
log.info("【销项】【大象工具类】请求成功,结果{}",JSONUtil.toJsonStr(dxhyInterfaceResponse)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
log.error("【销项】【大象接口】调用HttpsUtilV6.Exception, url=" + url + ",request=" + JSONUtil.toJsonStr(dxhyInterfaceRequest), e); |
|
|
|
|
} |
|
|
|
|