Commit f011e443 authored by jiaorz's avatar jiaorz

修改支付宝支付方式

parent ff40a765
......@@ -283,8 +283,10 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> {
orderPayVo.setNotifyUrl(notifyUrl);
try {
if (orderPayVo.getPayWay() == 2) { //支付宝APP支付
log.info("=============支付宝APP支付================");
return appOrderPay(alipayClient, orderPayVo);
} else { //预授权
log.info("=============支付宝预授权支付================");
return fundAuthOrderAppFreeze(alipayClient, orderPayVo);
}
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment