mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-12-25 09:35:57 +08:00
feat: 优化后台UI
This commit is contained in:
@@ -5,7 +5,6 @@ type AdminUser struct {
|
||||
Username string
|
||||
Password string
|
||||
Salt string // 密码盐
|
||||
ExpiredTime int64 // 账户到期时间
|
||||
Status bool `gorm:"default:true"` // 当前状态
|
||||
LastLoginAt int64 // 最后登录时间
|
||||
LastLoginIp string // 最后登录 IP
|
||||
|
||||
@@ -4,7 +4,7 @@ import "time"
|
||||
|
||||
type File struct {
|
||||
Id uint `gorm:"primarykey;column:id"`
|
||||
UserId uint
|
||||
UserId int
|
||||
Name string
|
||||
ObjKey string
|
||||
URL string
|
||||
|
||||
@@ -4,7 +4,6 @@ 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