magento2-geoip:根据客户的IP地址进行客户国家_地区查询

时间:2021-05-27 17:08:52
【文件属性】:
文件名称:magento2-geoip:根据客户的IP地址进行客户国家_地区查询
文件大小:1.59MB
文件格式:ZIP
更新时间:2021-05-27 17:08:52
location geolocation magento iplookup ipaddress-to-address MagePal的Magento2 GeoIp扩展 根据他们在Magento2中的IP地址自动检测您的访客国家/地区代码。 基本模块 由MagePal提供清漆支持的GeoIp国家重定向 通过MagePal快速结帐。 用法 public function __construct( ... \MagePal\GeoIp\Service\GeoIpService $geoIpService, .... ) { ... $this->geoIpService = $geoIpService; } $countryCode = $this->geoIpService->getCountryByIpAddress('128.0.0.101'); //or $
【文件预览】:
magento2-geoip-master
----registration.php(163B)
----Block()
--------Adminhtml()
----Helper()
--------Data.php(2KB)
----var()
--------GeoLite2-Country.mmdb(3.2MB)
----etc()
--------module.xml(248B)
--------config.xml(357B)
--------adminhtml()
--------acl.xml(843B)
----Service()
--------GeoIpService.php(2KB)
----license.txt(6KB)
----composer.json(1KB)
----README.md(3KB)

网友评论