Commit 4d6de6ca authored by jiaorz's avatar jiaorz

支付宝支付转为预授权

parent b21d4cd0
...@@ -485,8 +485,17 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> { ...@@ -485,8 +485,17 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> {
return false; return false;
} }
public static void main(String[] args) { public static void main(String[] args) throws AlipayApiException {
OrderPayBiz orderPayBiz = new OrderPayBiz(); OrderPayBiz orderPayBiz = new OrderPayBiz();
orderPayBiz.alipayOrderRefund("20190806134440000001","2019080622001421530542309594", 3, "xxxx", ""); OrderPayVo orderPayVo = new OrderPayVo();
orderPayVo.setOrderNo("20191024121000010004");
orderPayVo.setTradeNo("2019102410002001530572255591");
orderPayVo.setAmount(2);
orderPayVo.setBody("扣除租车订单费用");
orderPayVo.setSubject("租车订单交易费用");
orderPayBiz.fundAuthOrderUnFreeze(orderPayVo, "");
//orderPayBiz.alipayOrderRefund("20190806134440000001","2019080622001421530542309594", 3, "xxxx", "");
//orderPayBiz.tradePay(orderPayVo, "");
//orderPayBiz.fundAuthCancel(orderPayVo, "");
} }
} }
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