ソースを参照

会员权限认证

zac3533 1 年間 前
コミット
9bd9e42029
1 ファイル変更4 行追加4 行削除
  1. 4 4
      application/admin/controller/user/User.php

+ 4 - 4
application/admin/controller/user/User.php

@@ -352,10 +352,10 @@ class User extends Backend
         if (empty($values)) {
         if (empty($values)) {
             $this->error(__('You have no permission'));
             $this->error(__('You have no permission'));
         }
         }
-        $adminIds = $this->getDataLimitAdminIds();
-        if (is_array($adminIds)) {
-            $this->model->where($this->dataLimitField, 'in', $adminIds);
-        }
+        // $adminIds = $this->getDataLimitAdminIds();
+        // if (is_array($adminIds)) {
+        //     $this->model->where($this->dataLimitField, 'in', $adminIds);
+        // }
         $count = 0;
         $count = 0;
         Db::startTrans();
         Db::startTrans();
         try {
         try {