mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
seed box record add asn
This commit is contained in:
@@ -101,8 +101,12 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$result = \Nexus\Plugin\Plugin::listEnabled();
|
||||
dd($result);
|
||||
$file = resource_path("geoip/GeoLite2-ASN.mmdb");
|
||||
$file = resource_path("geoip/GeoLite2-City.mmdb");
|
||||
$reader = new Reader($file);
|
||||
$asn = $reader->asn("94.16.120.0");
|
||||
// $result = \Nexus\Plugin\Plugin::listEnabled();
|
||||
dd($asn);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user