提交 1cfe4c82 authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 a3f258fa
...@@ -99,12 +99,12 @@ public class FgPayServiceImpl implements FgPayService { ...@@ -99,12 +99,12 @@ public class FgPayServiceImpl implements FgPayService {
toPayForm.setTrade_type("1"); toPayForm.setTrade_type("1");
} }
log.info("开始调用三方服务获取支付url-------"); log.info("开始调用三方服务获取支付url-------");
CallBack<WecartPayReturn> result = thirdClient.getPayUrl(toPayForm); CallBack<String> result = thirdClient.getPayUrl(toPayForm);
if(result == null || result.notEntity()) { if(result == null || result.notEntity()) {
return new PayInfoVo(false, null, "支付失败"); return new PayInfoVo(false, null, "支付失败");
} }
log.info("调用三方服务获取支付url完成-------\n" + result.getData()); log.info("调用三方服务获取支付url完成-------\n" + result.getData());
WecartPayReturn response = result.getData(); String response = result.getData();
// transferLogService.insert(new TransferLog("pay", "去支付(获取页面或二维码url)", "order", "third", // transferLogService.insert(new TransferLog("pay", "去支付(获取页面或二维码url)", "order", "third",
// orderCode, "orderCode:" + orderCode + "paytype:" + payType, response, new Date())); // orderCode, "orderCode:" + orderCode + "paytype:" + payType, response, new Date()));
...@@ -151,12 +151,12 @@ public class FgPayServiceImpl implements FgPayService { ...@@ -151,12 +151,12 @@ public class FgPayServiceImpl implements FgPayService {
} }
// } // }
log.info("开始调用三方服务获取支付url-------"); log.info("开始调用三方服务获取支付url-------");
CallBack<WecartPayReturn> result = thirdClient.getPayUrl(toPayForm); CallBack<String> result = thirdClient.getPayUrl(toPayForm);
if(result == null || result.notEntity()) { if(result == null || result.notEntity()) {
return new PayInfoVo(false, null, "支付失败"); return new PayInfoVo(false, null, "支付失败");
} }
log.info("调用三方服务获取支付url完成-------\n" + result.getData()); log.info("调用三方服务获取支付url完成-------\n" + result.getData());
WecartPayReturn response = result.getData(); String response = result.getData();
// transferLogService.insert(new TransferLog("pay", "去支付(获取页面或二维码url)", "order", "third", // transferLogService.insert(new TransferLog("pay", "去支付(获取页面或二维码url)", "order", "third",
// orderCode, "orderCode:" + orderCode + "paytype:" + payType, response, new Date())); // orderCode, "orderCode:" + orderCode + "paytype:" + payType, response, new Date()));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论