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