调整提示信息

main
yanzai 2 months ago
parent bba2e66ce3
commit 7e8cec6c6a

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

@ -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'])<strtotime($pay_check['created_at']) + $wait_time) {

Loading…
Cancel
Save