Browse Source

会员升级

Kirin 1 year ago
parent
commit
6044e312ce
1 changed files with 0 additions and 1 deletions
  1. 0 1
      app/services/system/SystemRoleServices.php

+ 0 - 1
app/services/system/SystemRoleServices.php

@@ -106,7 +106,6 @@ class SystemRoleServices extends BaseServices
             return true;
             return true;
         }
         }
 		$auth = $this->getRolesByAuth($request->adminInfo()['roles'], 2);
 		$auth = $this->getRolesByAuth($request->adminInfo()['roles'], 2);
-        var_dump($auth);
         //验证访问接口是否有权限
         //验证访问接口是否有权限
         if ($auth && empty(array_filter($auth, function ($item) use ($rule, $method) {
         if ($auth && empty(array_filter($auth, function ($item) use ($rule, $method) {
             if (trim(strtolower($item['api_url'])) === $rule && $method === trim(strtolower($item['methods'])))
             if (trim(strtolower($item['api_url'])) === $rule && $method === trim(strtolower($item['methods'])))