feat: key status
This commit is contained in:
4 files changed
+11
-6
No files matched your search
@@ -6,6 +6,12 @@ import (
|
||||
"gorm.io/datatypes"
|
||||
)
|
||||
|
||||
// Key状态
|
||||
const (
|
||||
KeyStatusActive = "active"
|
||||
KeyStatusInvalid = "invalid"
|
||||
)
|
||||
|
||||
// SystemSetting 对应 system_settings 表
|
||||
type SystemSetting struct {
|
||||
ID uint `gorm:"primaryKey;autoIncrement" json:"id"`
|
||||
|
||||
Reference in new issue
Block a user