userapi

package
v0.0.0-...-0218ea2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApiGroupApp = new(ApiGroup)

Functions

This section is empty.

Types

type ApiGroup

type ApiGroup struct {
	UserApi
	LoginApi
}

type LoginApi

type LoginApi struct{}

func (*LoginApi) Captcha

func (l *LoginApi) Captcha(c *gin.Context)

Captcha 验证码

func (*LoginApi) ChangePassword

func (l *LoginApi) ChangePassword(c *gin.Context)

ChangePassword 修改密码

func (*LoginApi) GetUserInfo

func (l *LoginApi) GetUserInfo(c *gin.Context)

GetUserInfo 获取用户自身信息

func (*LoginApi) Login

func (l *LoginApi) Login(c *gin.Context)

Login 登录

type UserApi

type UserApi struct{}

func (*UserApi) CreateUser

func (u *UserApi) CreateUser(c *gin.Context)

CreateUser 新增用户

func (*UserApi) DeleteUser

func (u *UserApi) DeleteUser(c *gin.Context)

DeleteUser 删除用户

func (*UserApi) GetUserPage

func (u *UserApi) GetUserPage(c *gin.Context)

GetUserPage 分页查询用户

func (*UserApi) UpdateUser

func (u *UserApi) UpdateUser(c *gin.Context)

UpdateUser 更新用户

func (*UserApi) UpdateUserPassword

func (u *UserApi) UpdateUserPassword(c *gin.Context)

UpdateUserPassword 重置用户密码

func (*UserApi) UpdateUserRoles

func (u *UserApi) UpdateUserRoles(c *gin.Context)

UpdateUserRoles 更新用户角色

func (*UserApi) UpdateUserStatus

func (u *UserApi) UpdateUserStatus(c *gin.Context)

UpdateUserStatus 修改用户状态

Jump to

Keyboard shortcuts

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