You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
935 B
20 lines
935 B
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | PermissAuth权限系统配置文件
|
|
// +----------------------------------------------------------------------
|
|
|
|
return [
|
|
'auth_on' => 1, // 权限开关
|
|
'auth_type' => 1, // 认证方式,1为实时认证;2为登录认证。
|
|
'auth_group' => 'system_auth_group', // 用户组数据不带前缀表名
|
|
'auth_group_access' => 'system_auth_group_access', // 用户-用户组关系不带前缀表名
|
|
'auth_rule' => 'system_auth_rule', // 权限规则不带前缀表名
|
|
'auth_user' => 'system_user', // 用户信息不带前缀表名
|
|
'auth_filter_model' => [
|
|
'api/login/login' => '用户登录',
|
|
'api/manager/permissMenu' => '用户获取菜单',
|
|
'api/manager/read' => '用户个人信息',
|
|
'api/manager/passwordReset' => '修改密码',
|
|
'api/Dashboard/index' => '仪表盘',
|
|
]
|
|
];
|
|
|