2.1 版本

1. 框架更新至5.8,并且其涉及代码进行修改;
2.  对支付的alipay组件针对php7.2/3进行修改;
3. 重构了节点信息获取逻辑;现在为实时请求;
4. 代码小细节和命名规范
This commit is contained in:
Bretton
2020-01-30 06:54:50 +08:00
committed by 兔姬桑
parent 1891d9ff06
commit 7fa56ada16
149 changed files with 5677 additions and 5704 deletions

View File

@@ -16,10 +16,8 @@ class IPIP
public static function ip($ip)
{
$filePath = public_path('ipip.ipdb');
$loc = new City($filePath);
$result = $loc->findMap($ip, 'CN');
return $result;
return $loc->findMap($ip, 'CN');
}
}