package
Version:
v0.0.0-...-497d345
Opens a new window with list of versions in this module.
Published: Apr 23, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
var (
Components = [][]string{
{"admin", "/admin*", "GET|POST|DELETE|PUT", ".*", "角色管理"},
{"demo", "/demo*", "GET|POST|DELETE|PUT", ".*", "demo角色"},
}
)
func CheckRootExit() bool
检查超级用户是否存在
func CreateSystemRole() bool
创建系统默认角色
Source Files
¶
Click to show internal directories.
Click to hide internal directories.