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.
44 lines
758 B
44 lines
758 B
3 years ago
|
<?php
|
||
|
/*
|
||
|
* @Author: witersen
|
||
|
* @Date: 2022-04-26 00:24:31
|
||
|
* @LastEditors: witersen
|
||
|
* @LastEditTime: 2022-05-07 01:31:13
|
||
|
* @Description: QQ:1801168257
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* 自定义全局权限路由表
|
||
|
*
|
||
|
* 路由规则:控制器/方法
|
||
|
* 白名单路由:即无需鉴权的请求
|
||
|
*/
|
||
|
|
||
|
return [
|
||
|
/**
|
||
|
* 管理系统白名单路由
|
||
|
*/
|
||
|
"public" => [
|
||
|
'web' => [
|
||
|
'Common/Login',
|
||
|
'Common/GetVeryfyCode'
|
||
|
],
|
||
|
'mini' => []
|
||
|
],
|
||
|
|
||
|
/**
|
||
|
* SVN用户有权限路由
|
||
|
*/
|
||
|
'svn_user_routers' => [
|
||
|
'Svnrep/GetSvnUserRepList',
|
||
|
'Svnrep/GetUserRepCon',
|
||
|
|
||
|
'Common/Logout',
|
||
|
|
||
|
'Svn/GetCheckout',
|
||
|
'Svn/GetStatus',
|
||
|
|
||
|
'Personal/EditSvnUserPass',
|
||
|
],
|
||
|
];
|