From 5e46798c24cc622fe54af5e04af8bf67e91445e4 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Tue, 7 May 2024 10:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=9A=E7=9F=A5=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/OrderServicePackageService.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Services/OrderServicePackageService.php b/app/Services/OrderServicePackageService.php index e30fbb6..f796798 100644 --- a/app/Services/OrderServicePackageService.php +++ b/app/Services/OrderServicePackageService.php @@ -986,6 +986,9 @@ class OrderServicePackageService extends BaseService $data['order_inquiry_id'] = $order_inquiry['order_inquiry_id']; $time = 1000 * 60 * 60 * 24; + if (\Hyperf\Config\config('app_env') == "dev"){ + $time = 1000 * 60 * 5; + } }else{ // 发送站内、订阅失败-医生有新的服务包问诊订单 $MessagePush = new MessagePush($user_doctor['user_id'], $order_inquiry['inquiry_no']); @@ -996,6 +999,9 @@ class OrderServicePackageService extends BaseService $data['order_inquiry_id'] = $order_inquiry['order_inquiry_id']; $time = 1000 * 60 * 60 * 2; + if (\Hyperf\Config\config('app_env') == "dev"){ + $time = 1000 * 60 * 5; + } } $message = new DoctorNotYetInquiryDelayDirectProducer($data);