Commit f4266832 by zhengqiuyun86

初始化

parent ebb09a42
...@@ -24,6 +24,8 @@ func init() { ...@@ -24,6 +24,8 @@ func init() {
_, err := redisClient.Ping().Result() _, err := redisClient.Ping().Result()
if err != nil { if err != nil {
log.Error(fmt.Sprintf("Redis connect error :%s", err.Error())) log.Error(fmt.Sprintf("Redis connect error :%s", err.Error()))
} else {
log.Info("Redis connect success")
} }
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 to comment