Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyHandler ¶
type MyHandler struct {
base.BaseHandler
}
func (*MyHandler) MyAuthority ¶
MyAuthority 获取当前用户权限列表 @Tags User @Summary 获取当前用户权限列表 @Description 获取当前用户权限列表 @Accept json @Produce json @Success 200 {object} handlers.ResponseStruct{} "用户权限列表" @Router /v1/my/auth [get] @Security JWT
func (*MyHandler) MyTenants ¶
MyTenants 获取当前用户租户列表 @Tags User @Summary 获取当前用户租户列表 @Description 获取当前用户租户列表 @Accept json @Produce json @Success 200 {object} handlers.ResponseStruct{} "用户权限列表" @Router /v1/my/tenants [get] @Security JWT
func (*MyHandler) Myinfo ¶
Myinfo 获取当前用户的信息 @Tags User @Summary 获取当前用户的信息 @Description 获取当前用户的信息 @Accept json @Produce json @Success 200 {object} handlers.ResponseStruct{Data=[]models.User} "用户详情" @Router /v1/my/info [get] @Security JWT
func (*MyHandler) RegistRouter ¶
func (h *MyHandler) RegistRouter(rg *gin.RouterGroup)
func (*MyHandler) ResetPassword ¶
ResetPassword 重设密码 @Tags User @Summary 重设密码 @Description 重设密码 @Accept json @Produce json @Param param body resetPasswordForm true "表单" @Success 200 {object} handlers.ResponseStruct{} "" @Router /v1/my/reset_password [post] @Security JWT