初始化项目文件
This commit is contained in:
20
api_file/model/keys.go
Normal file
20
api_file/model/keys.go
Normal file
@ -0,0 +1,20 @@
|
||||
package model
|
||||
|
||||
import "gorm.io/gorm"
|
||||
|
||||
// DayKeys 每天对应key表
|
||||
type DayKeys struct {
|
||||
Date string
|
||||
Key string
|
||||
AesKey string
|
||||
User string
|
||||
gorm.Model
|
||||
}
|
||||
type JwtKeys struct {
|
||||
Username string
|
||||
Date string
|
||||
Key string
|
||||
Token string
|
||||
Updated bool `gorm:"default:false"`
|
||||
gorm.Model
|
||||
}
|
Reference in New Issue
Block a user