Ken 1 개월 전
부모
커밋
50fd087cc8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Services/FixtureService.php

+ 1 - 1
app/Services/FixtureService.php

@@ -35,7 +35,7 @@ static function oddsLive($id)
         $res = Client::oddsLive(['fixture' => $id]);
         if (count($res['response']) <= 0) return [];
         $res = $res['response'][0];
-        Cache::put($key, $res, now()->addHours(3));
+        Cache::put($key, $res, 3);
         return $res;
     }