Commit df8d17b0 by 庄欣

套系增加时间判断

parent 14e3b569
......@@ -7,7 +7,6 @@ use App\Exceptions\ApiUnauthorized;
use App\Http\Controllers\ControllerBase;
use Illuminate\Routing\Controller;
use App\Lib\Response\Response;
use Illuminate\Http\Request;
class Sets extends ControllerBase
{
......
......@@ -116,7 +116,7 @@ class CurlClient
$curlinfo = curl_getinfo($http);
}
if ($curlinfo == false || (is_array($curlinfo) && $curlinfo['http_code'] != 200)) {
var_dump($res);
var_dump($curlinfo);
throw new \Exception("返回错误");
}
$res = json_decode($res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment