新增合作站点hddolby,可以对使用接口的用户进行认证绑定。

This commit is contained in:
iyuu.cn 2020-03-11 23:41:40 +08:00
parent fb68d21589
commit c35bbe0c91
2 changed files with 6 additions and 5 deletions

View File

@ -9,7 +9,7 @@ use Curl\Curl;
class Oauth
{
// 合作的站点
public static $sites = ['ourbits'];
public static $sites = ['ourbits','hddolby'];
// 爱语飞飞token
public static $token = '';
// 合作站点用户id

View File

@ -144,12 +144,13 @@ return array(
),
),
),
// HDSky 序号4
'hdsky' => array(
// hddolby 序号4
'hddolby' => array(
// 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项)
'cookie' => '',
// 如果需要自动辅种,必须配置
'passkey' => '',
'id' => 0, // 用户ID(不是用户名)
),
// pter 序号5
'pter' => array(
@ -186,8 +187,8 @@ return array(
// 如果需要自动辅种,必须配置
'passkey' => '',
),
// hddolby 序号10
'hddolby' => array(
// HDSky 序号10
'hdsky' => array(
// 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项)
'cookie' => '',
// 如果需要自动辅种,必须配置