package
Version:
v0.0.0-...-25930e8
Opens a new window with list of versions in this module.
Published: Nov 25, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type InfoReq struct {
g.Meta `path:"info" method:"get" sm:"获取登录信息" tags:"账户"`
}
type InfoRes struct {
Username string `json:"username" dc:"用户名"`
Nickname string `json:"nickname" dc:"昵称"`
Avatar string `json:"avatar" dc:"头像"`
Register *gtime.Time `json:"register" dc:"注册时间"`
LastLogin *gtime.Time `json:"lastLogin" dc:"最后登录时间"`
}
type LogoutReq struct {
g.Meta `path:"logout" method:"post" sm:"登出" tags:"账户"`
Token string
}
type LogoutRes struct {
Result bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.