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

master v1.6.0
iyuu.cn 5 years ago
parent fb68d21589
commit c35bbe0c91
  1. 2
      app/Library/Oauth.php
  2. 9
      config/config.sample.php

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

@ -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' => '',
// 如果需要自动辅种,必须配置

Loading…
Cancel
Save