ipdatabase
ipdatabase copied to clipboard
解析结果为空
在idea下
getCity方法的返回类型应该为String。
def getCity(ip: String): String = { IpHelper.findRegionByIp(ip) }