jingcai-php/app/Supports/JingCai/AiStat.php

21 lines
359 B
PHP
Executable File

<?php
namespace App\Supports\JingCai;
use Illuminate\Support\Facades\Http;
class AiStat
{
private $requestTimeOut = 15;
private $http;
private function __construct()
{
$this->http = Http::withHeaders([])
->timeout($this->requestTimeOut);
}
public static function build() {
return new static();
}
}