This commit is contained in:
egzosn
2020-11-13 22:29:47 +08:00
parent a3f5fe8016
commit 012b71739d
18 changed files with 48 additions and 49 deletions

View File

@@ -65,7 +65,7 @@ public class PayTest {
//支付服务
PayService service = new AliPayService(aliPayConfigStorage);
//支付订单基础信息
PayOrder payOrder = new PayOrder("订单title", "摘要", new BigDecimal(0.01) , UUID.randomUUID().toString().replace("-", ""));
PayOrder payOrder = new PayOrder("订单title", "摘要", BigDecimal.valueOf(0.01) , UUID.randomUUID().toString().replace("-", ""));
/*-----------扫码付-------------------*/
payOrder.setTransactionType(AliTransactionType.SWEEPPAY);
//获取扫码付的二维码