From c7c0f586c5ac056dda2844e4dbbfa4f5331418f1 Mon Sep 17 00:00:00 2001 From: jianghanbo Date: Mon, 28 Oct 2024 14:06:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/app/admin/controller/OrderController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/service/app/admin/controller/OrderController.php b/service/app/admin/controller/OrderController.php index cfbefef2..8d5c909a 100644 --- a/service/app/admin/controller/OrderController.php +++ b/service/app/admin/controller/OrderController.php @@ -47,6 +47,7 @@ class OrderController extends base $status = $request->get('status', null); $query = Orders::attimes($timetype, $times)->with(['admin','anchor','backs', 'mobileInfo'])->where($where) + ->order('create_at','desc') ->order('update_time','desc') ->order('id','desc');