From 69311c2b8fce8c3e4f048db369979fadc4522172 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Wed, 11 Aug 2021 11:37:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/GameRebateController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/GameRebateController.class.php b/Application/Admin/Controller/GameRebateController.class.php index b66b254e5..23c2ba243 100644 --- a/Application/Admin/Controller/GameRebateController.class.php +++ b/Application/Admin/Controller/GameRebateController.class.php @@ -83,10 +83,10 @@ class GameRebateController extends ThinkController $records = []; if (I('export', 0) == 1 || $row == 'all') { - $records = $query->select(); + $records = $query->order('create_time desc')->select(); } else { $countQuery = clone $query; - $records = $query->page($page, $row)->select(); + $records = $query->order('create_time desc')->page($page, $row)->select(); $count = $countQuery->count(); }