Merge branch 'feature/audit' into develop

This commit is contained in:
2025-10-24 15:25:44 +08:00
+1 -2
View File
@@ -40,9 +40,8 @@ class SysUpdateLogService
$config = []; $config = [];
$config['model'] = $this->modelClass; $config['model'] = $this->modelClass;
switch ($scene) { switch ($scene) {
case 'default':
$config['order']['id'] = 'desc';
case 'index': case 'index':
$config['order']['id'] = 'desc';
break; break;
case 'show': case 'show':
$config['where']['id'] = $p['id']; $config['where']['id'] = $p['id'];