提交 3b12ad96 编写于 作者: D devil

插件调用权限校验处理

上级 071987c1
......@@ -32,6 +32,12 @@ class Plugins extends Common
public function __construct()
{
parent::__construct();
// 登录校验
$this->IsLogin();
// 权限校验
$this->IsPower();
}
/**
......
......@@ -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"
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册