Browse Source

赛事结果关联字段错误处理

彭俊 6 năm trước cách đây
mục cha
commit
48644baff0

+ 2 - 2
app/Http/Model/StBqResult.php

@@ -37,7 +37,7 @@ class StBqResult extends Model
                 $time = time()-strtotime($v['match_time']);
                 $match_time = self::secTime($time);
                 $set_match_r[] = [
-                    "match_id"=> $v['id'],
+                    "match_id"=> $v['match_id'],
                     "home_team"=>$v['home_team'],
                     "guest_team"=>$v['guest_team'],
                     "lg_id"=>$v['lg_id'],
@@ -69,7 +69,7 @@ class StBqResult extends Model
                 $time = time()-strtotime($v['match_time']);
                 $match_time = self::secTime($time);
                 $set_match_r[] = [
-                    "match_id"=> $v['id'],
+                    "match_id"=> $v['match_id'],
                     "home_team"=>$v['home_team'],
                     "guest_team"=>$v['guest_team'],
                     "lg_id"=>$v['lg_id'],

+ 2 - 2
app/Http/Model/StLqResult.php

@@ -43,7 +43,7 @@ class StLqResult extends Model
 //                $time = time()-strtotime($v['match_time']);
 //                $match_time = self::secTime($time);
                 $set_match_r[] = [
-                    "match_id"=> $v['id'],
+                    "match_id"=> $v['match_id'],
                     "home_team"=>$v['home_team'],
                     "guest_team"=>$v['guest_team'],
                     "lg_id"=>$v['lg_id'],
@@ -82,7 +82,7 @@ class StLqResult extends Model
 //                    $time = time()-strtotime($v['match_time']);
 //                    $match_time = self::secTime($time);
                     $set_match_r[] = [
-                        "match_id"=> $v['id'],
+                        "match_id"=> $v['match_id'],
                         "home_team"=>$v['home_team'],
                         "guest_team"=>$v['guest_team'],
                         "lg_id"=>$v['lg_id'],

+ 2 - 2
app/Http/Model/StWqResult.php

@@ -37,7 +37,7 @@ class StWqResult extends Model
                 $time = time()-strtotime($v['match_time']);
                 $match_time = self::secTime($time);
                 $set_match_r[] = [
-                    "match_id"=> $v['id'],
+                    "match_id"=> $v['match_id'],
                     "home_player_name"=>$v['home_player_name'],
                     "guest_player_name"=>$v['guest_player_name'],
                     "lg_id"=>$v['lg_id'],
@@ -69,7 +69,7 @@ class StWqResult extends Model
                 $time = time()-strtotime($v['match_time']);
                 $match_time = self::secTime($time);
                 $set_match_r[] = [
-                    "match_id"=> $v['id'],
+                    "match_id"=> $v['match_id'],
                     "home_player_name"=>$v['home_player_name'],
                     "guest_player_name"=>$v['guest_player_name'],
                     "lg_id"=>$v['lg_id'],

+ 2 - 2
app/Http/Model/StZqResult.php

@@ -36,7 +36,7 @@ class StZqResult extends Model
                 $time = time()-strtotime($v['match_time']);
                 $match_time = self::secTime($time);
                 $set_match_r[] = [
-                    "match_id"=> $v['id'],
+                    "match_id"=> $v['match_id'],
                     "home_team"=>$v['home_team'],
                     "guest_team"=>$v['guest_team'],
                     "lg_id"=>$v['lg_id'],
@@ -68,7 +68,7 @@ class StZqResult extends Model
                 $time = time()-strtotime($v['match_time']);
                 $match_time = self::secTime($time);
                 $set_match_r[] = [
-                    "match_id"=> $v['id'],
+                    "match_id"=> $v['match_id'],
                     "home_team"=>$v['home_team'],
                     "guest_team"=>$v['guest_team'],
                     "lg_id"=>$v['lg_id'],