diff --git a/app/common/service/ResourceService.php b/app/common/service/ResourceService.php index b58ff84..dc0e4e1 100644 --- a/app/common/service/ResourceService.php +++ b/app/common/service/ResourceService.php @@ -46,6 +46,7 @@ class ResourceService $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';