Commit d113977f by huangchengyi

Merge branch 'dev' of http://119.23.72.7/mushishixian/search_server into dev

parents 24c5797f d8e08e45
Showing with 2 additions and 2 deletions
......@@ -14,9 +14,9 @@ type ichuntRedis struct {
var ichuntRedis_ = &ichuntRedis{}
func Conn(connection string) (*redis.Pool){
func Conn(connection string) (redis.Conn){
return ichuntRedis_.RedisList[connection]
return ichuntRedis_.RedisList[connection].Get()
}
var writeConn, readConn *redis.Pool
......
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