mapi

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type AuthorityMController

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

func (*AuthorityMController) AfterInitialize

func (m *AuthorityMController) AfterInitialize()

func (*AuthorityMController) GetRoleAuthorities

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

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

func (*AuthorityMController) GetSystemAuthorities

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

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

func (*AuthorityMController) GetUserAuthorities

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

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

func (*AuthorityMController) SetRoleAuthorities

func (c *AuthorityMController) SetRoleAuthorities(context *gin.Context)

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

func (*AuthorityMController) SetUserAuthorities

func (c *AuthorityMController) SetUserAuthorities(context *gin.Context)

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

Jump to

Keyboard shortcuts

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