mapi

package
v0.0.39 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type ButtonMController

type ButtonMController struct {
	controller.ResourceController
	ButtonService *service.ButtonService `inject:"buttonService"`
}

func (*ButtonMController) AfterInitialize

func (m *ButtonMController) AfterInitialize()

func (*ButtonMController) CreateButton

func (s *ButtonMController) CreateButton(c *gin.Context)

2.按钮新增(store)

func (*ButtonMController) DeleteButton

func (u *ButtonMController) DeleteButton(c *gin.Context)

6.删除记录

func (*ButtonMController) GetButton

func (s *ButtonMController) GetButton(c *gin.Context)

func (*ButtonMController) GetButtons

func (s *ButtonMController) GetButtons(context *gin.Context)

1按钮列表

func (*ButtonMController) UpdateButton

func (s *ButtonMController) UpdateButton(c *gin.Context)

5.按钮更新(update)

type MenuMController struct {
	controller.ResourceController
	MenuService *service.MenuService `inject:"menuService"`
}
func (m *MenuMController) AfterInitialize()
func (m *MenuMController) CreateMenu(c *gin.Context)
func (m *MenuMController) DeleteMenu(c *gin.Context)
func (m *MenuMController) GetMenu(c *gin.Context)
func (m *MenuMController) GetMenus(c *gin.Context)
func (m *MenuMController) GetSubMenus(c *gin.Context)
func (m *MenuMController) UpdateMenu(c *gin.Context)

type ModuleMController

type ModuleMController struct {
	controller.ResourceController
	ModuleService *service.ModuleService `inject:"moduleService"`
}

func (*ModuleMController) AfterInitialize

func (m *ModuleMController) AfterInitialize()

func (*ModuleMController) AuthorityTenantModules

func (m *ModuleMController) AuthorityTenantModules(c *gin.Context)

授权企业

func (*ModuleMController) CreateModule

func (m *ModuleMController) CreateModule(c *gin.Context)

func (*ModuleMController) DeleteModule

func (m *ModuleMController) DeleteModule(c *gin.Context)

func (*ModuleMController) GetModule

func (m *ModuleMController) GetModule(c *gin.Context)

func (*ModuleMController) GetModules

func (m *ModuleMController) GetModules(c *gin.Context)

func (*ModuleMController) GetSubModules

func (m *ModuleMController) GetSubModules(c *gin.Context)

func (*ModuleMController) GetTenantModules

func (c *ModuleMController) GetTenantModules(context *gin.Context)

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

func (*ModuleMController) RemoveTenantModuleAuthority

func (m *ModuleMController) RemoveTenantModuleAuthority(c *gin.Context)

授权企业

func (*ModuleMController) SetTenantModules

func (m *ModuleMController) SetTenantModules(c *gin.Context)

授权企业

func (*ModuleMController) UpdateModule

func (m *ModuleMController) UpdateModule(c *gin.Context)

Jump to

Keyboard shortcuts

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