diff --git a/Laravel/app/Http/Controllers/API/H5/OrderController.php b/Laravel/app/Http/Controllers/API/H5/OrderController.php index fe95ba4..4679d44 100644 --- a/Laravel/app/Http/Controllers/API/H5/OrderController.php +++ b/Laravel/app/Http/Controllers/API/H5/OrderController.php @@ -1597,7 +1597,7 @@ class OrderController extends Controller if(!$order_info) return \Yz::echoError1("未找到有效订单"); $person= DB::table('web_user_person')->where(['id'=>$order_info->person_id])->first(); $appointment_datetime=$order_info->appointment_date.' '.$order_info->appointment_time; //预约的日期 - if(!$this->isTodayTheDayBefore($order_info->appointment_date)) return \Yz::echoError1("已过推送时效,禁止推送"); + if(!$this->isTodayTheDayBefore($order_info->appointment_date)) return \Yz::echoError1("已过推送时效,禁止推送,id:".$id); $yyid=6; if($order_info->hospital_id == 1){ $yyid=6; diff --git a/bot/bot/bot_payCheck.php b/bot/bot/bot_payCheck.php index ee16394..805ba4c 100644 --- a/bot/bot/bot_payCheck.php +++ b/bot/bot/bot_payCheck.php @@ -26,7 +26,7 @@ function PayCheckFunc() $wait_time=60; if(!!$pay_check){ if($pay_check['source']=='web'){ - $wait_time==60*20//循环查询20分钟 + $wait_time==60*20;//循环查询20分钟 } } if (!!$pay_check and strtotime($pay_check['paycheck_time'])