mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-06-01 11:05:30 +08:00
6 lines
106 B
Lua
6 lines
106 B
Lua
|
|
if redis.call("GET", KEYS[1]) == ARGV[1] then
|
||
|
|
return redis.call("DEL", KEYS[1])
|
||
|
|
else
|
||
|
|
return 0
|
||
|
|
end
|