redis 应用场景 cat3306 2022-07-28 31 words One minute Contents 分布式锁 1 set joker 1 nx ex 10 1 2 3 4 5 6 var delScript = ` if redis.call("get", KEYS[1]) == ARGV[1] then return redis.call("del", KEYS[1]) else return 0 end` Please enable JavaScript to view the comments powered by Gitalk.