diff --git a/application/admin/controller/Plugins.php b/application/admin/controller/Plugins.php index d96887206..16a5c9d49 100755 --- a/application/admin/controller/Plugins.php +++ b/application/admin/controller/Plugins.php @@ -32,6 +32,12 @@ class Plugins extends Common public function __construct() { parent::__construct(); + + // 登录校验 + $this->IsLogin(); + + // 权限校验 + $this->IsPower(); } /** diff --git a/composer.json b/composer.json index f05387226..7e4c110aa 100755 --- a/composer.json +++ b/composer.json @@ -21,18 +21,11 @@ "email": "fuxiang.gong@qq.com" } ], - "require": { - "php": ">=5.6.0", - "topthink/framework": "5.1.*" - }, "autoload": { "psr-4": { "app\\": "application" } }, - "extra": { - "think-path": "thinkphp" - }, "config": { "preferred-install": "dist" }