From 21b84cd76d4c496163666db5bec3aae06357e915 Mon Sep 17 00:00:00 2001 From: youda Date: Fri, 25 Apr 2025 11:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/view/Cardextractor/card_shang_edit.html | 4 ++++ app/api/controller/Pay.php | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/admin/view/Cardextractor/card_shang_edit.html b/app/admin/view/Cardextractor/card_shang_edit.html index 1e48581..ba45683 100755 --- a/app/admin/view/Cardextractor/card_shang_edit.html +++ b/app/admin/view/Cardextractor/card_shang_edit.html @@ -35,7 +35,11 @@
+ {if $info.imgurl} + {else/} + + {/if}
{if $info.special_imgurl} diff --git a/app/api/controller/Pay.php b/app/api/controller/Pay.php index 605a69d..85c5023 100755 --- a/app/api/controller/Pay.php +++ b/app/api/controller/Pay.php @@ -311,9 +311,9 @@ class Pay extends Base // 生成新的支付通知URL $notifyUrl = generatePayNotifyUrl($payment_type, $order_type, $user_id, $order_no, $callback_nonce_str); $is_test = $user['istest']; - if ($is_test == 2) { - $price = 0.01; - } + // if ($is_test == 2) { + // $price = 0.01; + // } // 将通知URL和随机字符串保存到order_notify表中 Db::name('order_notify')->insert([ 'order_no' => $order_no,