微调微信推送

main
yanzai 12 months ago
parent b7795e18dd
commit 706fcd7bc8

@ -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" => ""

Loading…
Cancel
Save