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