原文: https://blog.csdn.net/zqian1994/article/details/79222812
使用方法:利用搜狐查询接口举例说明
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> console.log(returnCitySN["cip"]+','+returnCitySN["cname"]) </script>
原文: https://blog.csdn.net/zqian1994/article/details/79222812
使用方法:利用搜狐查询接口举例说明
<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script> <script type="text/javascript"> console.log(returnCitySN["cip"]+','+returnCitySN["cname"]) </script>