From 88498c394f5347fe5cb01f8c1152c2d0508cc24f Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 15 Oct 2020 22:49:45 +0800 Subject: [PATCH] Update Plugs.php --- app/admin/controller/api/Plugs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 '只有超级管理员才能操作!'; } }