From 6eed28250251ade05ea3e9f7b62af9240c062ce5 Mon Sep 17 00:00:00 2001 From: elf <360197197@qq.com> Date: Thu, 15 Jun 2023 21:39:44 +0800 Subject: [PATCH] yh --- app/Command/MineCommand.php | 1 + public/payment.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Command/MineCommand.php b/app/Command/MineCommand.php index 53a54c5..5f843d5 100644 --- a/app/Command/MineCommand.php +++ b/app/Command/MineCommand.php @@ -248,6 +248,7 @@ class MineCommand extends HyperfCommand 'data' => json_encode([ 'outOrderNo' => time().rand(1000, 9999), 'outMemberId' => 'T001', + 'amount' => 200, 'notifyUrl' => 'https://www.baidu.com', ]), ]; diff --git a/public/payment.html b/public/payment.html index 4760894..90a875a 100644 --- a/public/payment.html +++ b/public/payment.html @@ -205,7 +205,7 @@ this.form.cardNo = result.user.cardNo; this.form.mobile = result.user.mobile; this.form.bankCardNo = result.user.bankCardNo; - if (this.form.amount > 0) { + if (result.user.amount > 0) { this.form.amount = result.user.amount; this.amountReadonly = true; }