This commit is contained in:
wenxu12345
2022-05-11 12:13:17 +08:00
parent ff37d1cb02
commit a4f5dd9d89
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ type config struct {
DBMaxLifeTime int `yaml:"dbMaxLifeTime"`
}
Mongo struct {
DBUri string `yaml:"dbUri"` // 当dbUri值不为空则直接使用该值
DBUri string `yaml:"dbUri"`
DBAddress []string `yaml:"dbAddress"`
DBDirect bool `yaml:"dbDirect"`
DBTimeout int `yaml:"dbTimeout"`