偏好推荐修正

This commit is contained in:
2024-11-17 13:59:32 +08:00
parent bec2c9075b
commit a7845dbd4a
8 changed files with 185 additions and 14 deletions

View File

@@ -147,7 +147,7 @@ func (Category) TableName() string {
}
// 输入配置
type ConfigMysql struct {
type MysqlConfig struct {
Host string
Port int
Database string
@@ -159,7 +159,14 @@ type Oss struct {
Local bool
}
type GorseConfig struct {
Host string
Port int
Open bool
}
type Config struct {
Mysql ConfigMysql
Mysql MysqlConfig
Gorse GorseConfig
Oss
}