更新参数

This commit is contained in:
iyuu.cn 2020-01-22 14:19:05 +08:00
parent 69ba1ebe56
commit 9044d3575e

View File

@ -140,7 +140,7 @@ function send($site = '', $torrent = array())
* @param string $method
* @return mixed 返回的数据
*/
function download($url, $cookies, $useragent, $method = 'GET')
function download($url, $cookies='', $useragent='', $method = 'GET')
{
$header = array(
"Content-Type:application/x-www-form-urlencoded",