mirror of
https://gitee.com/ledc/IYUUAutoReseed
synced 2025-08-25 15:34:52 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
02205e6ce3 | ||
|
818794a19b | ||
|
88bc79ff58 |
@@ -13,7 +13,7 @@ use IYUU\Library\Table;
|
|||||||
class AutoReseed
|
class AutoReseed
|
||||||
{
|
{
|
||||||
// 版本号
|
// 版本号
|
||||||
const VER = '1.6.3';
|
const VER = '1.6.7';
|
||||||
// RPC连接
|
// RPC连接
|
||||||
private static $links = array();
|
private static $links = array();
|
||||||
// 客户端配置
|
// 客户端配置
|
||||||
@@ -122,10 +122,10 @@ class AutoReseed
|
|||||||
@fclose($file_pointer);
|
@fclose($file_pointer);
|
||||||
} else {
|
} else {
|
||||||
if (isset($rs['msg']) && $rs['msg']) {
|
if (isset($rs['msg']) && $rs['msg']) {
|
||||||
die($rs['msg']);
|
die($rs['msg'].PHP_EOL);
|
||||||
}
|
}
|
||||||
if (isset($rs['errmsg']) && $rs['errmsg']) {
|
if (isset($rs['errmsg']) && $rs['errmsg']) {
|
||||||
die($rs['errmsg']);
|
die($rs['errmsg'].PHP_EOL);
|
||||||
}
|
}
|
||||||
die('远端服务器无响应,请稍后再试!!!');
|
die('远端服务器无响应,请稍后再试!!!');
|
||||||
}
|
}
|
||||||
@@ -553,7 +553,8 @@ class AutoReseed
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
echo "正在从下载器 clients_".$k." 获取种子哈希……".PHP_EOL;
|
echo "正在从下载器 clients_".$k." 获取种子哈希……".PHP_EOL;
|
||||||
$hashArray = self::$links[$k]['rpc']->getList(self::$move);
|
$move = []; // 客户端做种列表 传址
|
||||||
|
$hashArray = self::$links[$k]['rpc']->getList($move);
|
||||||
if (empty($hashArray)) {
|
if (empty($hashArray)) {
|
||||||
// 失败
|
// 失败
|
||||||
continue;
|
continue;
|
||||||
|
Reference in New Issue
Block a user