diff --git a/Laravel/app/Http/Controllers/API/H5/OrderController.php b/Laravel/app/Http/Controllers/API/H5/OrderController.php index df7ce61..62c8100 100644 --- a/Laravel/app/Http/Controllers/API/H5/OrderController.php +++ b/Laravel/app/Http/Controllers/API/H5/OrderController.php @@ -1110,7 +1110,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($appointment_datetime)) return \Yz::echoError1("已过推送时效,禁止推送"); + if(!$this->isTodayTheDayBefore($order_info->appointment_date)) return \Yz::echoError1("已过推送时效,禁止推送"); $yyid=6; if($order_info->hospital_id == 1){ $yyid=6; @@ -1133,7 +1133,7 @@ class OrderController extends Controller "msg1" => $person->name, "msg2" => $appointment_datetime, "msg3" => $keshi, - "msg4" => $order_info->doctor, + "msg4" => isset($order_info->doctor)?$order_info->doctor:"无", "msg5" => "请提前10分钟到(".$keshi.")签到", "msg6" => "", "url" => ""