封装的CURL方法

dev-main 2021-10-27 08:03 UTC

This package is auto-updated.

Last update: 2023-01-27 10:46:56 UTC


README

composer require houzhonghua/curl dev-main

引入

use houzhonghua\curl\Curl;

请求接口

$query = new Curl($url,$method,$https,$header,$timeout);
$res = $query->curl($data);
print_r($res);