From 66504e386c9efaaff899c327714281f52c31b1b6 Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Mon, 18 Mar 2024 16:19:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=BB=E7=94=9F=E8=B4=A6?= =?UTF-8?q?=E6=88=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Model/OrderInquiry.php | 2 +- app/Services/InquiryService.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Model/OrderInquiry.php b/app/Model/OrderInquiry.php index 1c885b0..b28a5e5 100644 --- a/app/Model/OrderInquiry.php +++ b/app/Model/OrderInquiry.php @@ -194,7 +194,7 @@ class OrderInquiry extends Model }) ->whereIn('inquiry_status', $inquiry_status_params) ->whereBetween('reception_time', $reception_time) - ->orderBy('reception_time') + ->orderBy('reception_time','desc') ->paginate($per_page, $fields, "page", $page); $data = array(); diff --git a/app/Services/InquiryService.php b/app/Services/InquiryService.php index f93f555..a57bd2b 100644 --- a/app/Services/InquiryService.php +++ b/app/Services/InquiryService.php @@ -1148,7 +1148,6 @@ class InquiryService extends BaseService return fail(HttpEnumCode::SERVER_ERROR, $e->getMessage()); } - dump("已添加至队列"); try { // 发送IM消息-问诊已完成 $imService = new ImService();