|
|
|
|
@ -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;
|
|
|
|
|
|