feat: 优化后台UI

This commit is contained in:
chenzifan
2024-03-11 13:51:26 +08:00
parent dca25dbb78
commit 26dc479596
13 changed files with 200 additions and 28 deletions

View File

@@ -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

View File

@@ -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