diff --git a/app/AutoReseed.php b/app/AutoReseed.php index 7524ee0..c2cb7fc 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -13,7 +13,7 @@ use IYUU\Library\Table; class AutoReseed { // 版本号 - const VER = '1.7.4'; + const VER = '1.7.5'; // RPC连接 private static $links = []; // 客户端配置 diff --git a/app/Library/Oauth.php b/app/Library/Oauth.php index d784ab9..85e4e4f 100644 --- a/app/Library/Oauth.php +++ b/app/Library/Oauth.php @@ -9,7 +9,7 @@ use Curl\Curl; class Oauth { // 合作的站点 - public static $sites = ['ourbits','hddolby','hdhome','pthome']; + public static $sites = ['ourbits','hddolby','hdhome','pthome','moecat']; // 爱语飞飞token public static $token = ''; // 合作站点用户id diff --git a/config/config.sample.php b/config/config.sample.php index 6b0a9e6..0d2b884 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -133,6 +133,16 @@ return array( 'passkey' => '', 'id' => 0, // 用户ID(不是用户名) ), + // MoeCat + 'moecat' => array( + // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) + 'cookie' => '', + // 如果需要自动辅种,必须配置 + 'passkey' => '', + 'id' => 0, // 用户ID(不是用户名) + // 种子Tracker的IP地址选择 可选:ipv4,ipv6 + 'ip_type' => 'ipv4', + ), // m-team 'm-team' => array( // 14.m-team的cookie 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) @@ -216,15 +226,6 @@ return array( // 如果需要自动辅种,必须配置 'passkey' => '', ), - // MoeCat - 'moecat' => array( - // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项) - 'cookie' => '', - // 如果需要自动辅种,必须配置 - 'passkey' => '', - // 种子Tracker的IP地址选择 可选:ipv4,ipv6 - 'ip_type' => 'ipv4', - ), // totheglory 'ttg' => array( // 如果需要用下载免费种脚本,须配置(只是自动辅种,可以不配置此项)