mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
[dev]更新系统权限模块
This commit is contained in:
parent
04794f07f8
commit
4aa216baca
@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
// +----------------------------------------------------------------------
|
||||
// | Think.Admin
|
||||
// +----------------------------------------------------------------------
|
||||
// | 版权所有 2016~2017 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | 官方网站: http://think.ctolog.com
|
||||
// +----------------------------------------------------------------------
|
||||
// | 开源协议 ( https://mit-license.org )
|
||||
// +----------------------------------------------------------------------
|
||||
// | github开源项目:https://github.com/zoujingli/Think.Admin
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace app\admin\controller;
|
||||
|
||||
use controller\BasicAdmin;
|
||||
|
||||
/**
|
||||
* 系统角色管理控制器
|
||||
* Class Role
|
||||
* @package app\admin\controller
|
||||
* @author Anyon <zoujingli@qq.com>
|
||||
* @date 2017/02/15 18:14
|
||||
*/
|
||||
class Role extends BasicAdmin {
|
||||
|
||||
protected $table = 'SystemRole';
|
||||
|
||||
public function index() {
|
||||
parent::_list($this->table);
|
||||
}
|
||||
|
||||
}
|
@ -37,6 +37,9 @@ class Node {
|
||||
$alias["{$vo['node']}"] = $vo;
|
||||
}
|
||||
foreach (self::getNodeTree(APP_PATH) as $thr) {
|
||||
if (stripos($thr, 'admin/plugs') === 0 && stripos($thr, 'admin/index')) {
|
||||
continue;
|
||||
}
|
||||
$tmp = explode('/', $thr);
|
||||
$one = $tmp[0];
|
||||
$two = "{$tmp[0]}/{$tmp[1]}";
|
||||
|
Loading…
x
Reference in New Issue
Block a user