This commit is contained in:
wucongxing8150 2024-05-07 11:15:15 +08:00
parent 1008c994d6
commit c582cd0b00
2 changed files with 4 additions and 1 deletions

View File

@ -2823,6 +2823,9 @@ class CallBackController extends AbstractController
$data['order_inquiry_id'] = $order_inquiry['order_inquiry_id'];
$time = 1000 * 60 * 60 * 24;
if (\Hyperf\Config\config('app_env') == "dev"){
$time = 1000 * 30;
}
$message = new DoctorNotYetInquiryDelayDirectProducer($data);
$message->setDelayMs($time);
$producer = $this->container->get(Producer::class);

View File

@ -1000,7 +1000,7 @@ class OrderServicePackageService extends BaseService
$time = 1000 * 60 * 60 * 2;
if (\Hyperf\Config\config('app_env') == "dev"){
$time = 1000 * 60 * 5;
$time = 1000 * 30;
}
}