From 1b0aaec9ab8367a4367d9ff71b17393acf51769c Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 25 Oct 2021 08:58:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E5=BE=AE=E4=BF=A1=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E7=9A=84=E6=94=AF=E4=BB=98=E6=B5=81=E7=A8=8B=EF=BC=8C?= =?UTF-8?q?=E7=BE=8E=E6=BB=8B=E6=BB=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../shop/controller/ShopOrderController.java | 2 +- .../static/MP_verify_DKOvVzFP7vPwwHx2.txt | 1 + .../src/main/resources/static/pay.html | 88 ++++++++++--------- 3 files changed, 49 insertions(+), 42 deletions(-) create mode 100644 yudao-user-server/src/main/resources/static/MP_verify_DKOvVzFP7vPwwHx2.txt diff --git a/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/shop/controller/ShopOrderController.java b/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/shop/controller/ShopOrderController.java index 8075aba5e..fccc69d3e 100644 --- a/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/shop/controller/ShopOrderController.java +++ b/yudao-user-server/src/main/java/cn/iocoder/yudao/userserver/modules/shop/controller/ShopOrderController.java @@ -43,7 +43,7 @@ public class ShopOrderController { reqDTO.setMerchantOrderId(String.valueOf(System.currentTimeMillis())); reqDTO.setSubject("标题:" + shopOrderId); reqDTO.setBody("内容:" + shopOrderId); - reqDTO.setAmount(100); + reqDTO.setAmount(1); // 单位:分 reqDTO.setExpireTime(DateUtils.addTime(Duration.ofDays(1))); Long payOrderId = payOrderCoreService.createPayOrder(reqDTO); diff --git a/yudao-user-server/src/main/resources/static/MP_verify_DKOvVzFP7vPwwHx2.txt b/yudao-user-server/src/main/resources/static/MP_verify_DKOvVzFP7vPwwHx2.txt new file mode 100644 index 000000000..ee06c0a6b --- /dev/null +++ b/yudao-user-server/src/main/resources/static/MP_verify_DKOvVzFP7vPwwHx2.txt @@ -0,0 +1 @@ +DKOvVzFP7vPwwHx2 \ No newline at end of file diff --git a/yudao-user-server/src/main/resources/static/pay.html b/yudao-user-server/src/main/resources/static/pay.html index 89e95849b..20587749b 100644 --- a/yudao-user-server/src/main/resources/static/pay.html +++ b/yudao-user-server/src/main/resources/static/pay.html @@ -2,6 +2,7 @@ + 支付测试页 @@ -15,7 +16,8 @@