package
Version:
v0.1.0-beta
Opens a new window with list of versions in this module.
Published: Oct 5, 2021
License: GPL-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Code generated by goctl. DO NOT EDIT.
type ChangePasswordReq struct {
Username string `json:"username"`
Password string `json:"password"`
NewPassword string `json:"newPassword"`
}
type GetByIdReq struct {
ID float64 `json:"id" form:"id"`
}
type RegisterReq struct {
Username string `json:"userName"`
Password string `json:"passWord"`
NickName string `json:"nickName"`
AuthorityId string `json:"authorityId"`
AuthorityIds []string `json:"authorityIds"`
}
type Response struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data"`
}
type SetUserAuthReq struct {
AuthorityId string `json:"authorityId"`
}
type SetUserAuthoritiesReq struct {
ID uint `json:"id"`
AuthorityIds []string `json:"authorityIds"`
}
type SysUserReq struct {
UUID string `json:"uuid"`
Username string `json:"userName"`
NickName string `json:"nickName"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.