We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(1)使用redis的set集合时,使用return redis.smembers('magic-api');读取容器里面元素值,结果返回如下: { "code": 200, "message": "success", "data": [ "dGVzdDI=", "dGVzdDE=", "dGVzdDM=" ] } 元素值都是被base64加密过的,请问这个是正常的么?
(2)使用redis.srandmember('magic-api',2)随机获取2个元素值时,返回结果如下: { "code": 200, "message": "success", "data": "test2" } 元素值没有base64加密,而且一直都只能返回一个值,我前面设置的需要随机取2个值的
The text was updated successfully, but these errors were encountered:
No branches or pull requests
(1)使用redis的set集合时,使用return redis.smembers('magic-api');读取容器里面元素值,结果返回如下:
{
"code": 200,
"message": "success",
"data": [
"dGVzdDI=",
"dGVzdDE=",
"dGVzdDM="
]
}
元素值都是被base64加密过的,请问这个是正常的么?
(2)使用redis.srandmember('magic-api',2)随机获取2个元素值时,返回结果如下:
{
"code": 200,
"message": "success",
"data": "test2"
}
元素值没有base64加密,而且一直都只能返回一个值,我前面设置的需要随机取2个值的
The text was updated successfully, but these errors were encountered: