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();