热门标签
更多>
搜索结果
查询Tags标签: lua1234,共有 2条记录-
php中使用redis执行lua脚本
<?php $lua = <<<LUAlocal sequenceKey = KEYS[1]local time = KEYS[2]local sequenceNumber = redis.call("incr", sequenceKey)redis.call("expire", sequenceKey, time)return sequenceNumber LUA;$redis = new Redis(); $redis->…
2021/9/26 19:40:50 人评论 次浏览 -
php中使用redis执行lua脚本
<?php $lua = <<<LUAlocal sequenceKey = KEYS[1]local time = KEYS[2]local sequenceNumber = redis.call("incr", sequenceKey)redis.call("expire", sequenceKey, time)return sequenceNumber LUA;$redis = new Redis(); $redis->…
2021/9/26 19:40:50 人评论 次浏览