初次提交

This commit is contained in:
liuzhihang1
2024-06-26 20:45:23 +08:00
parent 4b388a5be1
commit 831ea9889f
57 changed files with 3945 additions and 0 deletions

18
model/config.go Normal file
View File

@@ -0,0 +1,18 @@
package model
type Config struct {
Id int `gorm:"column:id;primary_key"`
Key string `gorm:"column:key"`
Value string `gorm:"column:value"`
}
func (n *Config) TableName() string {
return "config"
}
type SystemConfigurationResp struct {
Key string `json:"key"`
Value any `json:"value"`
Default string `json:"default"`
Describe string `json:"describe"`
}