Commit bd0570dc by huangchengyi

1.0

parent 4f95199d
Showing with 2 additions and 1 deletions
...@@ -11,3 +11,4 @@ cmd.exe~ ...@@ -11,3 +11,4 @@ cmd.exe~
/conf/*.ini /conf/*.ini
/conf/prod /conf/prod
/conf/prod
...@@ -11,7 +11,7 @@ var ( ...@@ -11,7 +11,7 @@ var (
func SetUp(path string) (err error) { func SetUp(path string) (err error) {
//引入多个文件 //引入多个文件
Cfg, err = ini.LooseLoad(path+"/config.ini", path+"/database.ini", path+"/elastic.ini", path+"/rabmq.ini", path+"/redis.ini",path+"/search.ini") Cfg, err = ini.LooseLoad(path+"/config.ini", path+"/database.ini", path+"/elastic.ini", path+"/rabmq.ini", path+"/redis.ini",path+"/search.ini",path+"/mongo.ini")
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment