123333
This commit is contained in:
@@ -112,7 +112,7 @@ public class RoomDataCache {
|
||||
private final static String SET_STATUS_AGREE =
|
||||
"local status = tonumber(redis.call('hget', KEYS[1], '\"status\"'))\n" +
|
||||
"local beginTime = redis.call('hget', KEYS[1], '\"beginTime\"')\n" +
|
||||
"if status ~= 3 or beginTime) then\n" +
|
||||
"if status ~= 3 or beginTime then\n" +
|
||||
" return 0\n" +
|
||||
"end\n" +
|
||||
"return redis.call('hmset', KEYS[1], '\"status\"', 7, '\"beginTime\"', ARGV[1])";
|
||||
|
||||
Reference in New Issue
Block a user