controller_public

package
v0.0.0-...-294a70e Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CaptchaController

type CaptchaController struct {
	Ctx     iris.Context
	Captcha interface_core.ICaptcha
}

func (*CaptchaController) AfterActivation

func (m *CaptchaController) AfterActivation(a mvc.AfterActivation)

func (*CaptchaController) BeforeActivation

func (m *CaptchaController) BeforeActivation(b mvc.BeforeActivation)

func (*CaptchaController) Init

func (m *CaptchaController) Init() mvc.Result

@Description Init Captcha @Accept json @Produce json @Success 200 {string} string "ok" @Router /api/public/captcha/init [get]

func (*CaptchaController) Reload

func (m *CaptchaController) Reload(id string) mvc.Result

@Description Reload Captcha @Accept json @Produce json @Param id path string false "captcha id" @Success 200 {string} string "ok" @Router /api/public/captcha/reload/{id} [get]

type CaptchaResult

type CaptchaResult struct {
	Success   bool   `json:"success"`
	Message   string `json:"message"`
	CaptchaId string `json:"captchaId"`
	Image     string `json:"image"`
}

type DictController

type DictController struct {
	Ctx     iris.Context
	Service interface_manage.IDictService
}

func (*DictController) AfterActivation

func (m *DictController) AfterActivation(a mvc.AfterActivation)

func (*DictController) BeforeActivation

func (m *DictController) BeforeActivation(b mvc.BeforeActivation)

func (*DictController) GetDataByType

func (m *DictController) GetDataByType(dictType string) mvc.Result

type PermissionController

type PermissionController struct {
	Ctx               iris.Context
	PermissionService interface_manage.IPermissionService
	UserService       interface_manage.IUserService
}

func (*PermissionController) AfterActivation

func (m *PermissionController) AfterActivation(a mvc.AfterActivation)

func (*PermissionController) BeforeActivation

func (m *PermissionController) BeforeActivation(b mvc.BeforeActivation)

func (*PermissionController) GetMenuList

func (m *PermissionController) GetMenuList() mvc.Result

type UploadController

type UploadController struct {
	Ctx iris.Context
}

func (*UploadController) BeforeActivation

func (m *UploadController) BeforeActivation(b mvc.BeforeActivation)

func (*UploadController) UploadFile

func (m *UploadController) UploadFile() mvc.Result

type UserController

type UserController struct {
	Ctx     iris.Context
	Service interface_manage.IUserService
}

func (*UserController) AfterActivation

func (m *UserController) AfterActivation(a mvc.AfterActivation)

func (*UserController) BeforeActivation

func (m *UserController) BeforeActivation(b mvc.BeforeActivation)

func (*UserController) GetInfo

func (m *UserController) GetInfo() mvc.Result

func (*UserController) PostLogin

func (m *UserController) PostLogin() mvc.Result

func (*UserController) UnLock

func (m *UserController) UnLock() mvc.Result

Jump to

Keyboard shortcuts

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