@@ -17,7 +17,7 @@ func RunServe() {
init_serve.Redis()
}
- if global.CONFIG.Mongo.Host != `` {
+ if global.CONFIG.Mongo.Url != `` {
//初始化redis
init_serve.InitMongo()