From 370e9f112669f0be3a303308b4438eaa06fd8aa2 Mon Sep 17 00:00:00 2001 From: yanzai Date: Sun, 7 Dec 2025 10:57:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B41=E4=B8=AAbug,=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=9C=BA=E5=99=A8=E4=BA=BA=E8=AE=A2=E5=8D=95=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E8=BD=AE=E8=AF=A2=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/Http/Controllers/API/Admin/YeWu/PlanController.php | 1 + bot/bot/bot_payCheck.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php b/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php index a9874ba..f51a3d2 100644 --- a/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php +++ b/Laravel/app/Http/Controllers/API/Admin/YeWu/PlanController.php @@ -333,6 +333,7 @@ class PlanController extends Controller 'type'=>1,//改为正常号 'is_vip'=>$plan_type->is_vip, 'use_type'=>$plan_type->use_type, + 'sex'=>$plan_type->sex, 'checkup_type_id'=>$plan_type->checkup_type_id, 'amount_limit1'=>$plan_type->amount_limit1, 'amount_limit2'=>$plan_type->amount_limit2, diff --git a/bot/bot/bot_payCheck.php b/bot/bot/bot_payCheck.php index ea29b64..a75f1fa 100644 --- a/bot/bot/bot_payCheck.php +++ b/bot/bot/bot_payCheck.php @@ -23,10 +23,10 @@ function PayCheckFunc() $pay_check = $db->getRow("select * from orders where status = ? and order_number is not null and (source IS NULL or source not like ?) order by paycheck_time asc", [ 1,'%线下体检预约%' ]); - $wait_time=60; + $wait_time=600; if(!!$pay_check){ if($pay_check['source']=='web'){ - $wait_time=60*20;//循环查询20分钟 + $wait_time=600*2;//循环查询20分钟 } } if (!!$pay_check and strtotime($pay_check['paycheck_time'])