Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Common = &CommonService{}
View Source
var User = UserService{}
Functions ¶
This section is empty.
Types ¶
type CommonService ¶ added in v1.0.3
type CommonService struct{}
func (*CommonService) AddRoutes ¶ added in v1.0.3
func (s *CommonService) AddRoutes(requestParams common.RouteRequest) ([]models.CasbinRule, error)
AddRoutes 添加路由权限
type UserService ¶
type UserService struct{}
func (UserService) Login ¶
func (s UserService) Login(requestParams user.LoginRequest) (interface{}, error)
Login 登录操作
Click to show internal directories.
Click to hide internal directories.