搜狐查询访问ip的接口:
http://pv.sohu.com/cityjson
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> console.log(returnCitySN["cip"]+','+returnCitySN["cname"]) </script>
搜狐查询访问ip的接口:
http://pv.sohu.com/cityjson
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> console.log(returnCitySN["cip"]+','+returnCitySN["cname"]) </script>