From f9674c189811610808792e88ffac3dab25ff72e6 Mon Sep 17 00:00:00 2001 From: "iyuu.cn" <367013672@qq.com> Date: Mon, 6 Apr 2020 15:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E6=8A=A5=E8=A1=A8=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=84=9A=E6=9C=AC=E7=89=88=E6=9C=AC=E5=8F=B7?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/AutoReseed.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/AutoReseed.php b/app/AutoReseed.php index c2cb7fc..6d768b0 100644 --- a/app/AutoReseed.php +++ b/app/AutoReseed.php @@ -81,11 +81,11 @@ class AutoReseed echo '合作站点鉴权配置,请查阅:https://www.iyuu.cn/archives/337/' .PHP_EOL; } + echo "程序正在初始化运行参数... ".PHP_EOL; // 显示支持站点列表 self::ShowTableSites(); - self::$clients = isset($configALL['default']['clients']) && $configALL['default']['clients'] ? $configALL['default']['clients'] : array(); - echo "程序正在初始化运行参数... ".PHP_EOL; + // 递归删除上次历史记录 IFile::rmdir(self::$cacheDir, true); // 建立目录 @@ -407,7 +407,7 @@ class AutoReseed */ $url = self::getTorrentUrl($siteName, $_url); $reseedPass = false; - // 特殊站点:推送给下载器种子元数据 + // 特殊站点:种子元数据推送给下载器 switch ($siteName) { case 'hdchina': $cookie = isset($configALL[$siteName]['cookie']) ? $configALL[$siteName]['cookie'] : ''; @@ -625,6 +625,7 @@ class AutoReseed $rpcKey = self::$move[0]; $type = self::$links[$rpcKey]['type']; $extra_options = array(); + // 转移后,是否开始? $extra_options['paused'] = isset($configALL['default']['move']['paused']) && $configALL['default']['move']['paused'] ? true : false; if ($type == 'qBittorrent') { if (isset($configALL['default']['move']['skip_check']) && $configALL['default']['move']['skip_check'] === 1) { @@ -745,7 +746,8 @@ class AutoReseed { $br = PHP_EOL; $text = 'IYUU自动辅种-统计报表'; - $desp = '总做种:'.self::$wechatMsg['hashCount'] . ' [客户端正在做种的hash总数]' .$br; + $desp = '版本号:'. self::VER . $br; + $desp .= '总做种:'.self::$wechatMsg['hashCount'] . ' [客户端正在做种的hash总数]' .$br; $desp .= '返回数据:'.self::$wechatMsg['reseedCount']. ' [服务器返回的可辅种数据]' .$br; $desp .= '支持站点:'.self::$wechatMsg['sitesCount']. ' [当前支持自动辅种的站点数量]' .$br; $desp .= '成功:'.self::$wechatMsg['reseedSuccess']. ' [辅种成功,会把hash加入缓存]' .$br;