Documentation ¶
Overview ¶
*
- @author:cb <fastopencn@gmail.com>
- @date:2022/5/26 *
*
- @author:cb <fastopencn@gmail.com>
- @date:2022/5/26 *
*
- @author:cb <fastopencn@gmail.com>
- @date:2022/5/26 *
*
- @author:cb <fastopencn@gmail.com>
- @date:2022/5/26 *
*
- @author:cb <fastopencn@gmail.com>
- @date:2022/5/26 *
*
- @author:cb <fastopencn@gmail.com>
- @date:2022/5/26 *
*
- @author:cb <fastopencn@gmail.com>
- @date:2022/5/26 *
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserApi ¶
type UserApi struct{}
func (*UserApi) Login ¶
Login 登录 @Summary 用户登录 @Description 用户登录接口 @Accept json @Produce json @Tags user @Param loginParam body loginParam true "login with param" @Success 200 string Token "token" @Router /user/login [post]
func (*UserApi) Logout ¶
Logout 用户退出 @Summary 用户登出 @Description 注销用户登录信息 @Accept json @Produce json @Tags user @Success 200 {string} Message "用户退出成功" @Router /user/logout [get]
Click to show internal directories.
Click to hide internal directories.