mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 18:53:43 +08:00
feat: 增加系统用户管理
This commit is contained in:
11
api/store/vo/admin_user.go
Normal file
11
api/store/vo/admin_user.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package vo
|
||||
|
||||
type AdminUser struct {
|
||||
BaseVo
|
||||
Username string `json:"username"`
|
||||
Salt string `json:"salt"` // 密码盐
|
||||
ExpiredTime int64 `json:"expired_time"` // 账户到期时间
|
||||
Status bool `json:"status"` // 当前状态
|
||||
LastLoginAt int64 `json:"last_login_at"` // 最后登录时间
|
||||
LastLoginIp string `json:"last_login_ip"` // 最后登录 IP
|
||||
}
|
||||
Reference in New Issue
Block a user