api

package
v0.0.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Resources = &controller.Controllers{
	Base: "/auth",
	Controllers: []controller.Controller{
		authorityController,
	},
}

Functions

This section is empty.

Types

type AuthorityController

type AuthorityController struct {
	controller.ResourceController
	AuthorityService *service.AuthorityService `inject:"authorityService"`
}

func (*AuthorityController) AfterInitialize

func (m *AuthorityController) AfterInitialize()

func (*AuthorityController) GetRoleAuthorities

func (c *AuthorityController) GetRoleAuthorities(context *gin.Context)

待分配的系统菜单以及挂接的按钮

func (*AuthorityController) GetSystemAuthorities

func (c *AuthorityController) GetSystemAuthorities(context *gin.Context)

待分配的系统菜单以及挂接的按钮

func (*AuthorityController) GetUserAuthorities

func (c *AuthorityController) GetUserAuthorities(context *gin.Context)

根据用户ID获取所有权限的来源

func (*AuthorityController) GetUserMenus

func (c *AuthorityController) GetUserMenus(context *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL