Documentation ¶
Index ¶
- Variables
- type ButtonMController
- func (m *ButtonMController) AfterInitialize()
- func (s *ButtonMController) CreateButton(c *gin.Context)
- func (u *ButtonMController) DeleteButton(c *gin.Context)
- func (s *ButtonMController) GetButton(c *gin.Context)
- func (s *ButtonMController) GetButtons(context *gin.Context)
- func (s *ButtonMController) UpdateButton(c *gin.Context)
- type MenuMController
- 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
- func (m *ModuleMController) AfterInitialize()
- func (m *ModuleMController) AuthorityTenantModules(c *gin.Context)
- func (m *ModuleMController) CreateModule(c *gin.Context)
- func (m *ModuleMController) DeleteModule(c *gin.Context)
- func (m *ModuleMController) GetModule(c *gin.Context)
- func (m *ModuleMController) GetModules(c *gin.Context)
- func (m *ModuleMController) GetSubModules(c *gin.Context)
- func (c *ModuleMController) GetTenantModules(context *gin.Context)
- func (m *ModuleMController) RemoveTenantModuleAuthority(c *gin.Context)
- func (m *ModuleMController) SetTenantModules(c *gin.Context)
- func (m *ModuleMController) UpdateModule(c *gin.Context)
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 ¶
type MenuMController struct { controller.ResourceController MenuService *service.MenuService `inject:"menuService"` }
func (*MenuMController) AfterInitialize ¶
func (m *MenuMController) AfterInitialize()
func (*MenuMController) CreateMenu ¶
func (m *MenuMController) CreateMenu(c *gin.Context)
func (*MenuMController) DeleteMenu ¶
func (m *MenuMController) DeleteMenu(c *gin.Context)
func (*MenuMController) GetMenu ¶
func (m *MenuMController) GetMenu(c *gin.Context)
func (*MenuMController) GetMenus ¶
func (m *MenuMController) GetMenus(c *gin.Context)
func (*MenuMController) GetSubMenus ¶
func (m *MenuMController) GetSubMenus(c *gin.Context)
func (*MenuMController) UpdateMenu ¶
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)
Click to show internal directories.
Click to hide internal directories.