redistempate专题

luttuce(RedisTempate)实现hash expire lua脚本

话不多说先放脚本: local argv = ARGVlocal length = #argvif length > 0 then local unpackArgs = {}for i = 1, length - 1 dotable.insert(unpackArgs, argv[i])endif redis.call('exists', KEYS[1]) == 1 thenredi