Documentation ¶
Index ¶
- type ApiApi
- type ApiGroup
- type BaseApi
- type CasbinApi
- type JwtApi
- type MenuApi
- type RoleApi
- type UserApi
- func (ua *UserApi) AddUser(c *gin.Context)
- func (ua *UserApi) DeleteUser(c *gin.Context)
- func (ua *UserApi) EditUser(c *gin.Context)
- func (ua *UserApi) GetUserInfo(c *gin.Context)
- func (ua *UserApi) GetUsers(c *gin.Context)
- func (ua *UserApi) ModifyPass(c *gin.Context)
- func (ua *UserApi) SwitchActive(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseApi ¶
type BaseApi struct{}
func (*BaseApi) Captcha ¶
Captcha @Tags Base @Summary 生成验证码 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {object} response.Response{data=systemRes.SysCaptchaResponse,msg=string} "生成验证码,返回包括随机数id,base64,验证码长度" @Router /base/captcha [post]
type JwtApi ¶
type JwtApi struct{}
func (*JwtApi) JoinInBlacklist ¶
JoinInBlacklist @Tags Jwt @Summary jwt加入黑名单 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {object} response.Response{msg=string} "jwt加入黑名单" @Router /jwt/jsonInBlacklist [post]
Click to show internal directories.
Click to hide internal directories.