Commit 1613d12b authored by leitao.zhang's avatar leitao.zhang

修改数据库地址

parent de6a4227
...@@ -48,6 +48,9 @@ func initEnv() { ...@@ -48,6 +48,9 @@ func initEnv() {
if len(os.Getenv("REDIS_CONNECTION")) > 0 { if len(os.Getenv("REDIS_CONNECTION")) > 0 {
*redisUrl = os.Getenv("REDIS_CONNECTION") *redisUrl = os.Getenv("REDIS_CONNECTION")
} }
if len(os.Getenv("DB_URL")) > 0 {
*dbURL = os.Getenv("DB_URL")
}
} }
//注册公共config参数信息 //注册公共config参数信息
......
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 to comment