IpLocation.php 463 B

123456789101112131415161718192021
  1. <?php namespace App\Facades\Servers\Aliyun;
  2. use Illuminate\Support\Facades\Facade;
  3. /**
  4. * @method string|array getCityByIp(string $ip='',string $field='') 获取IP归属地
  5. *
  6. * @see \App\Servers\Aliyun\IpLocation
  7. */
  8. class IpLocation extends Facade
  9. {
  10. /**
  11. * Get the registered name of the component.
  12. *
  13. * @return string
  14. */
  15. protected static function getFacadeAccessor()
  16. {
  17. return '\App\Servers\Aliyun\IpLocation';
  18. }
  19. }