mirror of
https://gitee.com/egzosn/pay-java-parent.git
synced 2026-06-08 02:17:20 +08:00
APP接口实现
This commit is contained in:
@@ -113,7 +113,7 @@ public class AliPayController {
|
||||
PayOrder order = new PayOrder("订单title", "摘要", new BigDecimal(0.01), UUID.randomUUID().toString().replace("-", ""));
|
||||
//App支付
|
||||
order.setTransactionType(AliTransactionType.APP);
|
||||
data.put("orderInfo", UriVariables.getMapToParameters(service.orderInfo(order)));
|
||||
data.put("orderInfo", UriVariables.getMapToParameters(service.app(order)));
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
@@ -144,7 +144,7 @@ public class WxPayController {
|
||||
PayOrder order = new PayOrder("订单title", "摘要", new BigDecimal(0.01), UUID.randomUUID().toString().replace("-", ""));
|
||||
//App支付
|
||||
order.setTransactionType(WxTransactionType.APP);
|
||||
data.put("orderInfo", service.orderInfo(order));
|
||||
data.put("orderInfo", service.app(order));
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user