feat: key status

This commit is contained in:
tbphp committed 2025-07-07 15:50:47 +08:00
1 parent 0f85381082
commit 3228cdad64
4 files changed
+11 -6

No files matched your search

+6
View File
@@ -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"`