APP接口实现

This commit is contained in:
egzosn
2020-05-18 21:55:18 +08:00
parent 31b9210b97
commit 739f850902
5 changed files with 54 additions and 37 deletions

View File

@@ -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;
}

View File

@@ -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;
}