|
|
@ -16,7 +16,7 @@ func GetByKey(key string, url ...string) (string, error) { |
|
|
|
|
|
|
|
conn, _, err := DialRedisService("tcp", user_rpc_url) |
|
|
|
if err != nil { |
|
|
|
return nil, err |
|
|
|
return "", err |
|
|
|
} |
|
|
|
defer conn.Close() |
|
|
|
|
|
|
@ -30,5 +30,5 @@ func GetByKey(key string, url ...string) (string, error) { |
|
|
|
return "", err |
|
|
|
} |
|
|
|
|
|
|
|
return res.GetString(), nil |
|
|
|
return res.GetString_(), nil |
|
|
|
} |