增加菜单列表筛选

This commit is contained in:
mzl@hnxinyouhe.com
2025-08-14 18:03:22 +08:00
parent 25ab9cafd5
commit 9f8d634611
+1 -1
View File
@@ -41,12 +41,12 @@ class ResourceService
$config['model'] = $this->modelClass;
switch ($scene) {
case 'default':
$config['where']['system_id'] = ['in', [0, $p['system_id']]];
$config['where']['status'] = 1;
$config['order']['sort'] = 'asc';
$config['order']['id'] = 'asc';
break;
case 'menuList':
$config['where']['system_id'] = ['in', [0, $p['system_id']]];
$config['where']['status'] = 1;
$config['where']['type'] = ['!=', 'permission'];
$config['order']['sort'] = 'asc';