作者 李小龙

post请求传token

... ... @@ -138,6 +138,7 @@ function httpPost($url, $data, $header = [],$is_json = true)
$header = array(
"Accept: application/json",
"Content-Type:application/json;charset=utf-8",
"Token:".env("WEB_SITE_TOKEN")
);
}
$ch = curl_init();
... ...