返回当前城市的方式积累

返回JS:

http://pv.sohu.com/cityjson?ie=utf-8

http://ip.ws.126.net/ipquery

使用举例:

<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>
<script>
    console.log(returnCitySN.cname);
</script>

返回Html:

https://whois.pconline.com.cn

发布了388 篇原创文章 · 获赞 105 · 访问量 31万+

猜你喜欢

转载自blog.csdn.net/haoranhaoshi/article/details/105169817