添加跳过校验参数

This commit is contained in:
iyuu.cn
2020-01-04 01:30:54 +08:00
parent c92e40ba0e
commit 66c5d870cb

View File

@ -132,7 +132,7 @@ class qBittorrent
{
if(!empty($save_path)) $extra_options['savepath'] = $save_path;
$extra_options['urls'] = $torrent_url;
#$extra_options['skip_checking'] = true; //跳校验
#$extra_options['skip_checking'] = 'true'; //跳校验
// 关键 上传文件流 multipart/form-data【严格按照api文档编写】
$post_data = $this->buildUrls($extra_options);
#p($post_data);
@ -146,6 +146,7 @@ class qBittorrent
{
if(!empty($save_path)) $extra_options['savepath'] = $save_path;
$extra_options['torrents'] = $torrent_metainfo;
#$extra_options['skip_checking'] = 'true'; //跳校验
// 关键 上传文件流 multipart/form-data【严格按照api文档编写】
$post_data = $this->buildData($extra_options);
#p($post_data);