Commit 286200cd by yemin

no message

parent c0808ad7
...@@ -37,6 +37,11 @@ func Init() { ...@@ -37,6 +37,11 @@ func Init() {
return return
} }
// CloseRedis 关闭redis连接池
func CloseRedis() {
redisClient.Close()
}
func getDb() *redis.Client { func getDb() *redis.Client {
return redisClient return redisClient
} }
......
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