即梦视频后台管理页面初始化

This commit is contained in:
GeekMaster
2025-07-18 21:19:59 +08:00
parent 5e4ba6d971
commit 73d003d6c3
10 changed files with 172 additions and 65 deletions

View File

@@ -1,9 +1,9 @@
package model
type Config struct {
Id uint `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
Key string `gorm:"column:marker;type:varchar(20);uniqueIndex;not null;comment:标识" json:"marker"`
Config string `gorm:"column:config_json;type:text;not null" json:"config_json"`
Id uint `gorm:"column:id;primaryKey;autoIncrement"`
Name string `gorm:"column:name;type:varchar(20);uniqueIndex;not null;comment:配置名称"`
Value string `gorm:"column:value;type:text;not null"`
}
func (m *Config) TableName() string {