openapi

package
v0.0.42 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

		moduleOpenController,
	},
}

Functions

This section is empty.

Types

type ModuleOpenController

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

func (*ModuleOpenController) AfterInitialize

func (m *ModuleOpenController) AfterInitialize()

func (*ModuleOpenController) GetCurrentUserModules

func (u *ModuleOpenController) GetCurrentUserModules(c *gin.Context)

@Summary 获取登录用户信息 @Tags users @Accept json @Produce json @Success 200 {string} json "{ "code": 200, "data": {"lists":""}, "msg": "ok" }" @Failure 400 {string} json @Router /api/v1/userInfo [GET]

func (*ModuleOpenController) GetModule

func (u *ModuleOpenController) GetModule(c *gin.Context)

func (*ModuleOpenController) GetSubModules

func (u *ModuleOpenController) GetSubModules(c *gin.Context)

Jump to

Keyboard shortcuts

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