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

This commit is contained in:
iyuu.cn committed 2020-03-11 23:42:39 +08:00
1 parent fb68d21589
commit c35bbe0c91
2 files changed
+6 -5

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ use Curl\Curl;
class Oauth class Oauth
{ {
// 合作的站点 // 合作的站点
public static $sites = ['ourbits']; public static $sites = ['ourbits','hddolby'];
// 爱语飞飞token // 爱语飞飞token
public static $token = ''; public static $token = '';
// 合作站点用户id // 合作站点用户id
+5 -4
View File
@@ -144,12 +144,13 @@ return array(
), ),
), ),
), ),
// HDSky 序号:4 // hddolby 序号:4
'hdsky' => array( 'hddolby' => array(
// 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项)
'cookie' => '', 'cookie' => '',
// 如果需要自动辅种,必须配置 // 如果需要自动辅种,必须配置
'passkey' => '', 'passkey' => '',
'id' => 0, // 用户ID(不是用户名)
), ),
// pter 序号:5 // pter 序号:5
'pter' => array( 'pter' => array(
@@ -186,8 +187,8 @@ return array(
// 如果需要自动辅种,必须配置 // 如果需要自动辅种,必须配置
'passkey' => '', 'passkey' => '',
), ),
// hddolby 序号:10 // HDSky 序号:10
'hddolby' => array( 'hdsky' => array(
// 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项)
'cookie' => '', 'cookie' => '',
// 如果需要自动辅种,必须配置 // 如果需要自动辅种,必须配置