From 24b3ef44154625f8f4d8ff71469a007b1aa64a4d Mon Sep 17 00:00:00 2001 From: "WIN-C27C5MSVTPO\\16961" <1696136552@qq.com> Date: Fri, 24 Oct 2025 15:25:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/SysUpdateLogService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/common/service/SysUpdateLogService.php b/app/common/service/SysUpdateLogService.php index 643b4f0..c93c350 100644 --- a/app/common/service/SysUpdateLogService.php +++ b/app/common/service/SysUpdateLogService.php @@ -40,9 +40,8 @@ class SysUpdateLogService $config = []; $config['model'] = $this->modelClass; switch ($scene) { - case 'default': - $config['order']['id'] = 'desc'; case 'index': + $config['order']['id'] = 'desc'; break; case 'show': $config['where']['id'] = $p['id'];