郑晓宇 6 anos atrás
pai
commit
284aad7ee0
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Console/Commands/gamematch.php

+ 1 - 1
app/Console/Commands/gamematch.php

@@ -70,8 +70,8 @@ class gamematch extends Command
             $match_times = 0;
             $info = [];
             $questions = [];
-            $room = Redis::get($data['level']);
             $data = json_decode($data, 1);
+            $room = Redis::get($data['level']);
             if($room){
                 Redis::del($data['level']);
                 $room = json_decode($room, 1);