vali 6 years ago
parent
commit
c73394c3ae
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Logic/DataLogic.php

+ 2 - 2
app/Logic/DataLogic.php

@@ -1984,8 +1984,8 @@ class DataLogic
                 // "tag"=> $data['tag']?:0,
                 "match_id" => $match_id,
                 "update_time" => date('Y-m-d H:i:s'),
-                "corner_result" => $data['corner_result'],//角球
-                "penalty_result" => $data['corner_result'],//罚牌
+                "corner_result" => json_encode($data['corner_result']),//角球
+                "penalty_result" => json_encode($data['penalty_result']),//罚牌
             ];
         };
         if ($game_code == 'lq') {