local redis = require 'redis'
local client = redis.connect('127.0.0.1', 6379)
local response = client:ping() -- true
for i=100,1000 do
client:zadd("test1",i,i)
client:set("post_"..i,"a"..i)
end
lua操作redis
最新推荐文章于 2024-09-12 11:26:20 发布