@@ -3641,7 +3641,8 @@ def updateUserCountry(request):
if data:
country = data
else:
- country = CommonService.getAddr(country_ip['ip'])
+ country = CommonService.getIpIpInfo(country_ip['ip'], lang='CN')
+ country = country['country_name']
redisObject.set_data(key=key, val=country, expire=3600)
country_ip['country'] = country