Ken 1 miesiąc temu
rodzic
commit
210913a98c
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      app/Services/FixtureService.php

+ 2 - 0
app/Services/FixtureService.php

@@ -78,6 +78,8 @@ static function index()
                     'league_en' => $item['league']['name'],
                     'state' => $status[$item['fixture']['status']['short']],//比赛状态:0未开始1进行中2已完场3延期4取消
                     'game_time' => $item['fixture']['timestamp'],
+                    'created_at' => now(),
+                    'updated_at' => now(),
                 ];
             }
         }