feat : add site custom setting

This commit is contained in:
engigu
2024-01-17 23:15:47 +08:00
parent 98985c2470
commit 69d4a1cc74
22 changed files with 174 additions and 61 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ type Settings struct {
Section string `json:"section" gorm:"type:varchar(100) comment '实例类型';default:'';index:section"`
Key string `json:"key" gorm:"type:varchar(100) comment '实例类型';default:'';"`
Value string `json:"value" gorm:"type:varchar(4096) comment '实例类型';default:'';"`
Value string `json:"value" gorm:"type:text comment '实例类型';default:'';"`
}
// AddOneSetting 添加一条设置