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

@@ -52,7 +52,7 @@ public class PayTest {
//支付服务
UnionPayService service = new UnionPayService(unionPayConfigStorage);
//支付订单基础信息
PayOrder payOrder = new PayOrder("订单title", "摘要", new BigDecimal(0.01) , new SimpleDateFormat("yyyyMMddHHmmss").format(System.currentTimeMillis()));
PayOrder payOrder = new PayOrder("订单title", "摘要", BigDecimal.valueOf(0.01) , new SimpleDateFormat("yyyyMMddHHmmss").format(System.currentTimeMillis()));
/*----------- 网页支付-------------------*/