郑晓宇 6 年之前
父節點
當前提交
284aad7ee0
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);