From b3f6777936732a37f09f19a795cf1916c66cb639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=A9=E4=BB=9488?= <> Date: Thu, 14 May 2026 12:33:43 +0800 Subject: [PATCH] 1 --- bot/bot/bot_payCheck.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bot/bot_payCheck.php b/bot/bot/bot_payCheck.php index 66111cd..4640bb5 100644 --- a/bot/bot/bot_payCheck.php +++ b/bot/bot/bot_payCheck.php @@ -23,7 +23,7 @@ function PayCheckFunc() $pay_check = $db->getRow("select * from orders where status = ? and order_number is not null order by paycheck_time asc", [ 1, ]); - if (!!$pay_check ) { + if (!!$pay_check and strtotime($pay_check['paycheck_time'])>strtotime($pay_check['created_at']) + 60) { Db2::u($db, 'orders', [ 'paycheck_time' => date('Y-m-d H:i:s'), ], 'where id = ?', [