rabin 1 năm trước cách đây
mục cha
commit
147363e4ce
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      api/Admin.php

+ 2 - 0
api/Admin.php

@@ -19,6 +19,8 @@ class Admin extends Auth
         $where = array();
         if ($this->user['auth']['module']) {
             $where['id'] = array('in', $this->user['auth']['module']);
+        } else {
+            $where['system'] = $this->system['key'];
         }
         $result = array();
         $module = Dever::db('system_module', 'manage')->select($where);