diff --git a/app/admin/controller/api/Plugs.php b/app/admin/controller/api/Plugs.php index ffd9b4925..a01a66266 100644 --- a/app/admin/controller/api/Plugs.php +++ b/app/admin/controller/api/Plugs.php @@ -116,7 +116,7 @@ class Plugs extends Controller } catch (\Exception $exception) { echo '' . $exception->getMessage() . ''; } else { - $this->error('只有超级管理员才能操作!'); + echo '只有超级管理员才能操作!'; } }