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

+ 1 - 0
app/Logic/DataLogic.php

@@ -331,6 +331,7 @@ class DataLogic
                                 'is_today' => $data['is_today'] ?: 0,
                                 'is_today' => $data['is_today'] ?: 0,
                                 'is_morningplate' => $data['is_morningplate'] ?: 0,
                                 'is_morningplate' => $data['is_morningplate'] ?: 0,
                                 'is_stringscene' => $data['is_stringscene'] ?: 0,
                                 'is_stringscene' => $data['is_stringscene'] ?: 0,
+                                'is_horn' => $data['is_horn'] ?: 0,
                                 'us_time' => $data['us_time'] ?: commonFunction::qgmdate('Y-m-d H:i:s', '', -4),
                                 'us_time' => $data['us_time'] ?: commonFunction::qgmdate('Y-m-d H:i:s', '', -4),
                                 'half_match_id' => $half_match_id ?: 0,
                                 'half_match_id' => $half_match_id ?: 0,
                                 'identity' => $data['uuid'],
                                 'identity' => $data['uuid'],

+ 1 - 1
app/Logic/WinfailLogic.php

@@ -220,7 +220,7 @@ class WinfailLogic
         $result['0']->corner_ball = json_encode($result['0']->corner_ball, 256);
         $result['0']->corner_ball = json_encode($result['0']->corner_ball, 256);
         $result['0']->penalty_card = json_encode($result['0']->penalty_card, 256);
         $result['0']->penalty_card = json_encode($result['0']->penalty_card, 256);
         $result['0']->warn_more = json_encode($result['0']->warn_more, 256);
         $result['0']->warn_more = json_encode($result['0']->warn_more, 256);
-        
+
         $winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
         $winorfalsedef = ['result' => 2, 'matchResult' => 'noRuleOrError'];
 
 
         foreach ($matchArray as $matchModel) {
         foreach ($matchArray as $matchModel) {