|
@@ -54,6 +54,8 @@ func GetRedisValue(key string) (bool, string) {
|
|
|
return false, ""
|
|
return false, ""
|
|
|
}
|
|
}
|
|
|
result := client.Get(key).String()
|
|
result := client.Get(key).String()
|
|
|
|
|
+ beego.BeeLogger.Info("result 返回字符:%s", result)
|
|
|
|
|
+
|
|
|
if result == "redis: nil" {
|
|
if result == "redis: nil" {
|
|
|
return false, result
|
|
return false, result
|
|
|
}
|
|
}
|