mirror of
https://gitee.com/yudaocode/SpringBoot-Labs.git
synced 2026-09-03 05:53:54 +08:00
6 lines
108 B
Lua
6 lines
108 B
Lua
if redis.call('GET', KEYS[1]) ~= ARGV[1] then
|
|
return 0
|
|
end
|
|
redis.call('SET', KEYS[1], ARGV[2])
|
|
return 1
|