From 9044d3575e8e7808bb24f5c80d714c5b0ce4d043 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Wed, 22 Jan 2020 14:19:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helper.php b/app/helper.php index 9b371df..06196ea 100644 --- a/app/helper.php +++ b/app/helper.php @@ -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",