Home  >  Article  >  Backend Development  >  ip地址接口的一些有关问题

ip地址接口的一些有关问题

WBOY
WBOYOriginal
2016-06-13 11:30:05695browse

ip地址接口的一些问题
问题是这样的,客户多数是外国的,下单后记录ip,通过IP地址接口转换为国家名记录进数据库。

GEOIP使用过,数据库太小了,怕某的小国家查询不出,因为我们的风控模块指定了许多存在风险的小国家。

新浪,腾讯,淘宝提供的IP返回值是这样的:"country":"\u4e2d\u56fd"  ,我想知道\u4e2d\u56fd是什么编码来的,通过unicode不能转换。

用国内的IP接口怕不够完善,我们几乎所有客户都是外国。请问大神,有什么解决方案?万分感谢!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn