diff --git a/app/AutoReseed.php b/app/AutoReseed.php index 9659e8b..91408dc 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -277,7 +277,7 @@ class AutoReseed // 支持站点数量 self::$wechatMsg['sitesCount'] = count(self::$sites); $sites = self::$sites; - // 按客户端循环辅种 开始 + // 遍历客户端 开始 foreach (self::$links as $k => $v) { if (empty($v)) { echo "clients_".$k." 用户名或密码未配置,已跳过".PHP_EOL.PHP_EOL; @@ -331,7 +331,7 @@ class AutoReseed echo '-----辅种失败,原因:' .$errmsg.PHP_EOL.PHP_EOL; continue; } - // 当前客户端可辅种数据 + // 遍历当前客户端可辅种数据 foreach ($reseed as $info_hash => $vv) { // 当前种子哈希对应的目录 $downloadDir = $infohash_Dir[$info_hash]; @@ -556,6 +556,7 @@ class AutoReseed private static function move() { global $configALL; + //遍历客户端 foreach (self::$links as $k => $v) { if (self::$move[0] == $k) { echo "clients_".$k."是目标转移客户端,避免冲突,已跳过!".PHP_EOL.PHP_EOL; @@ -578,7 +579,7 @@ class AutoReseed echo "clients_".$k." 全部转移成功,本次无需转移!".PHP_EOL.PHP_EOL; continue; } - // 循环转移做种客户端 + //遍历当前客户端种子 foreach ($infohash_Dir as $info_hash => $downloadDir) { // 调用路径过滤 if (self::pathFilter($downloadDir)) { @@ -586,7 +587,6 @@ class AutoReseed } // 做种实际路径与相对路径之间互转 echo '转换前:'.$downloadDir.PHP_EOL; - // 调用路径转换 $downloadDir = self::pathReplace($downloadDir); echo '转换后:'.$downloadDir.PHP_EOL; if (is_null($downloadDir)) { diff --git a/wiki/公告栏.md b/wiki/公告栏.md index e4a4e9c..76a6ba6 100644 --- a/wiki/公告栏.md +++ b/wiki/公告栏.md @@ -1,5 +1,19 @@ # 公告栏 +### 2020年7月12日19:34:03 + +【新增功能】v1.9.0 +转移过滤器、选择器;可以只转移指定路径的种子,也可以排除指定路径的种子,按需转移。 +【升级方法】 +1.主脚本可以通过git pull,或覆盖更新; +2.然后对照最新config.sample.php,把59行,60行,手动加入到你的config.php对应位置。 + +【重要提醒】域名部署SSL证书,接口域名支持双协议访问http/https,如下: + +https://api.iyuu.cn + +http://api.iyuu.cn + ### 2020年4月10日17:43:50 针对多合作站点绑定的优化!