偏好推荐修正
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user