郑晓宇 %!s(int64=6) %!d(string=hai) anos
pai
achega
284aad7ee0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);