我正在编写一个简单的Lua 脚本来计算Redis 2.8 中有序集( ... KEYS[1], mid-1, mid) return (tonumber(vals[1]) + tonumber(vals[2]))/2.0 end else return nil end
確定! 回上一頁