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

@@ -51,7 +51,7 @@
```java
//支付订单基础信息
PayOrder payOrder = new PayOrder("订单title", "摘要", new BigDecimal(0.01) , UUID.randomUUID().toString().replace("-", "").substring(2));
PayOrder payOrder = new PayOrder("订单title", "摘要", BigDecimal.valueOf(0.01) , UUID.randomUUID().toString().replace("-", "").substring(2));
```

View File

@@ -37,7 +37,7 @@ public class PayTest {
//支付服务
PayService service = new FuiouPayService(fuiouPayConfigStorage);
//支付订单基础信息
PayOrder payOrder = new PayOrder("订单title", "摘要", new BigDecimal(0.01) , UUID.randomUUID().toString().replace("-", "").substring(2));
PayOrder payOrder = new PayOrder("订单title", "摘要", BigDecimal.valueOf(0.01) , UUID.randomUUID().toString().replace("-", "").substring(2));
/*----------- 网页支付-------------------*/