get_user_passkey()

This commit is contained in:
xiaomlove
2024-10-10 03:05:34 +08:00
parent 9fec1a7ede
commit 24936277db
3 changed files with 36 additions and 11 deletions

View File

@@ -100,17 +100,8 @@ class Test extends Command
*/
public function handle()
{
$url = "http://127.0.0.1:7777/list-seeder-leecher-count";
$idArr = [8, 12];
$client = new Client();
$response = $client->post($url, ['json' => ['torrent_ids' => $idArr]]);
$result = json_decode((string)$response->getBody(), true);
dump($result);
if (!isset($result['ret']) || $result['ret'] != 0) {
echo "Bad";
} else {
echo "OK";
}
$ip = "116.77.75.254";
$this->info(inet_pton($ip));
}
}