mirror of
https://github.com/ledccn/IYUUPlus.git
synced 2024-09-20 15:15:29 +00:00
fix:composer update ledccn/bittorrentclient
This commit is contained in:
parent
1fc6cb223a
commit
8c0e3e4d0b
|
@ -110,7 +110,7 @@ class Rpc
|
||||||
$result = $client->status();
|
$result = $client->status();
|
||||||
print self::$clients['type'].':'.self::$clients['host']." Rpc连接 [{$result}]".PHP_EOL;
|
print self::$clients['type'].':'.self::$clients['host']." Rpc连接 [{$result}]".PHP_EOL;
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
die('[连接错误] '. self::$clients['host'] . ' ' . $e->getMessage() . PHP_EOL);
|
die(__FILE__ . ' LINE:' . __LINE__ . '[连接错误] '. self::$clients['host'] . ' ' . $e->getMessage() . PHP_EOL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
|
@ -129,12 +129,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/ledccn/BittorrentClient.git",
|
"url": "https://github.com/ledccn/BittorrentClient.git",
|
||||||
"reference": "c25d6248a4c9dbb2f6b23e2d0416bf1d95be440f"
|
"reference": "7162332e4219c0a6a6d0c5940e50be27b3bde456"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/ledccn/BittorrentClient/zipball/c25d6248a4c9dbb2f6b23e2d0416bf1d95be440f",
|
"url": "https://api.github.com/repos/ledccn/BittorrentClient/zipball/7162332e4219c0a6a6d0c5940e50be27b3bde456",
|
||||||
"reference": "c25d6248a4c9dbb2f6b23e2d0416bf1d95be440f",
|
"reference": "7162332e4219c0a6a6d0c5940e50be27b3bde456",
|
||||||
"shasum": "",
|
"shasum": "",
|
||||||
"mirrors": [
|
"mirrors": [
|
||||||
{
|
{
|
||||||
|
@ -150,7 +150,7 @@
|
||||||
"ext-mbstring": "*",
|
"ext-mbstring": "*",
|
||||||
"php": "^5.6 | ^7.0"
|
"php": "^5.6 | ^7.0"
|
||||||
},
|
},
|
||||||
"time": "2021-03-20T23:39:22+00:00",
|
"time": "2021-03-21T00:11:04+00:00",
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"installation-source": "source",
|
"installation-source": "source",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|
|
@ -1008,6 +1008,10 @@ class transmission extends AbstractClient
|
||||||
$name = $result['arguments'][$_key]['name'];
|
$name = $result['arguments'][$_key]['name'];
|
||||||
echo "名字:" .$name . PHP_EOL;
|
echo "名字:" .$name . PHP_EOL;
|
||||||
echo "********RPC添加下载任务成功 [" .$result['result']. "] (id=" .$id. ")".PHP_EOL.PHP_EOL;
|
echo "********RPC添加下载任务成功 [" .$result['result']. "] (id=" .$id. ")".PHP_EOL.PHP_EOL;
|
||||||
|
$rs['data'] = [
|
||||||
|
'id' => $id,
|
||||||
|
'name' => $name
|
||||||
|
];
|
||||||
} else {
|
} else {
|
||||||
$rs['result'] = empty($result['result']) ? '未知错误,请稍后重试!' : $result['result'];
|
$rs['result'] = empty($result['result']) ? '未知错误,请稍后重试!' : $result['result'];
|
||||||
echo "-----RPC添加种子任务,失败 [".$rs['result']."]" . PHP_EOL.PHP_EOL;
|
echo "-----RPC添加种子任务,失败 [".$rs['result']."]" . PHP_EOL.PHP_EOL;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user