欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

【开发记录】如何在B/S项目中使用中国天气的实时天气功能

程序员文章站 2022-07-06 10:20:21
好久没有更新我的博客了,正好手头有一个比较合适的项目经验可以分享出来,就是这个如何使用中国天气的天气预报功能,也正好做个项目经验记录。 功能需求 这个功能需求比较简单,就是想在网页端显示实时天气数据。 解决方案: 第一种:使用百度地图的api来做,以定位为例,可以很方便的查找到用的的所在地,进而进行 ......

  好久没有更新我的博客了,正好手头有一个比较合适的项目经验可以分享出来,就是这个如何使用中国天气的天气预报功能,也正好做个项目经验记录。

功能需求

  这个功能需求比较简单,就是想在网页端显示实时天气数据。

  解决方案:

  第一种:使用百度地图的api来做,以为例,可以很方便的查找到用的的所在地,进而进行天气查询(或者一步到位,直接能获取到用户所在地的天气信息);然而使用百度地图的api需要去申请一个key才能使用,比较的麻烦,于是就放弃了,有兴趣的园友可以自己去尝试一下;

  第二种:既然方便的方式用不了,那么只能自己去寻找另一种的解决方案了;获取实时天气的步骤我给分了两步,第一步先获取用户的所在地,第二步根据所在地获取实时天气数据。

 

  跨域的问题:

  先在这里把跨域的问题提一下吧,js的ajax功能为了安全性考虑,只允许ajax访问相同域名下的接口,其他网站是不允许访问的;虽说ajax有jsonp的跨域请求,但是也得要求被访问的接口支持jsonp的数据格式返回(jsonp也是有一定的数据解析格式的),然而本文提到的接口基本上都是返回html或者字符串,是不符合jsonp数据解析的,因此这里需要后台来进行代理请求(就是js访问自己的后台,然后后台进行一次web请求而已)。

 

代码实现

  获取城市

  第一种:

  (父网址),浏览器能直接打开,可以通过f12查看网页的代理请求,发现返回的是html页,不方便确定城市信息字符串的位置,并且使用上述代码返回数据,汉字一直是乱码,所以这个网址接口被pass掉了;

  第二种:

  我也是参考根据ip查询所在城市接口(查询用户所在城市)这个博客来做的,使用的其中的:搜狐ip地址查询接口(可设置编码):,这里最好设置编码(ie=utf-8),否则汉字也有可能会乱码,这里返回的结果是

var returncitysn = {"cip": "", "cid": "370100", "cname": "山东省济南市"};

   调用方式是在html页里面引用就好,也不必再考虑跨域的问题,而且在js里面也可以直接使用returncitysn 这个对象(object)。

<script src="http://pv.sohu.com/cityjson?ie=utf-8"></script>

   获取到用户所在的城市就可以进行下一步操作了...

  获取实时天气


  使用的是后台来进行代理请求

  获取用户的所在地之后,就能获取实时天气了,这里也是参考园友的博客来做的,主要用了里面的城市与其对应的代码,我也给封装了下(原谅我没给换行xd):

【开发记录】如何在B/S项目中使用中国天气的实时天气功能
var citycode = [
        { city: '北京', code: '101010100' }, { city: '海淀', code: '101010200' }, { city: '朝阳', code: '101010300' }, { city: '顺义', code: '101010400' }, { city: '怀柔', code: '101010500' }, { city: '通州', code: '101010600' }, { city: '昌平', code: '101010700' }, { city: '延庆', code: '101010800' }, { city: '丰台', code: '101010900' }, { city: '石景山', code: '101011000' }, { city: '大兴', code: '101011100' }, { city: '房山', code: '101011200' }, { city: '密云', code: '101011300' }, { city: '门头沟', code: '101011400' }, { city: '平谷', code: '101011500' }, { city: '八达岭', code: '101011600' }, { city: '佛爷顶', code: '101011700' }, { city: '汤河口', code: '101011800' }, { city: '密云上甸子', code: '101011900' }, { city: '斋堂', code: '101012000' }, { city: '霞云岭', code: '101012100' }, { city: '上海', code: '101020100' }, { city: '闵行', code: '101020200' }, { city: '宝山', code: '101020300' }, { city: '川沙', code: '101020400' }, { city: '嘉定', code: '101020500' }, { city: '南汇', code: '101020600' }, { city: '金山', code: '101020700' }, { city: '青浦', code: '101020800' }, { city: '松江', code: '101020900' }, { city: '奉贤', code: '101021000' }, { city: '崇明', code: '101021100' }, { city: '陈家镇', code: '101021101' }, { city: '引水船', code: '101021102' }, { city: '徐家汇', code: '101021200' }, { city: '浦东', code: '101021300' }, { city: '天津', code: '101030100' }, { city: '武清', code: '101030200' }, { city: '宝坻', code: '101030300' }, { city: '东丽', code: '101030400' }, { city: '西青', code: '101030500' }, { city: '北辰', code: '101030600' }, { city: '宁河', code: '101030700' }, { city: '汉沽', code: '101030800' }, { city: '静海', code: '101030900' }, { city: '津南', code: '101031000' }, { city: '塘沽', code: '101031100' }, { city: '大港', code: '101031200' }, { city: '平台', code: '101031300' }, { city: '蓟县', code: '101031400' }, { city: '重庆', code: '101040100' }, { city: '永川', code: '101040200' }, { city: '合川', code: '101040300' }, { city: '南川', code: '101040400' }, { city: '江津', code: '101040500' }, { city: '万盛', code: '101040600' }, { city: '渝北', code: '101040700' }, { city: '北碚', code: '101040800' }, { city: '巴南', code: '101040900' }, { city: '长寿', code: '101041000' }, { city: '黔江', code: '101041100' }, { city: '万州天城', code: '101041200' }, { city: '万州龙宝', code: '101041300' }, { city: '涪陵', code: '101041400' }, { city: '开县', code: '101041500' }, { city: '城口', code: '101041600' }, { city: '云阳', code: '101041700' }, { city: '巫溪', code: '101041800' }, { city: '奉节', code: '101041900' }, { city: '巫山', code: '101042000' }, { city: '潼南', code: '101042100' }, { city: '垫江', code: '101042200' }, { city: '梁平', code: '101042300' }, { city: '忠县', code: '101042400' }, { city: '石柱', code: '101042500' }, { city: '大足', code: '101042600' }, { city: '荣昌', code: '101042700' }, { city: '铜梁', code: '101042800' }, { city: '璧山', code: '101042900' }, { city: '丰都', code: '101043000' }, { city: '武隆', code: '101043100' }, { city: '彭水', code: '101043200' }, { city: '綦江', code: '101043300' }, { city: '酉阳', code: '101043400' }, { city: '金佛山', code: '101043500' }, { city: '秀山', code: '101043600' }, { city: '沙坪坝', code: '101043700' }, { city: '哈尔滨', code: '101050101' }, { city: '双城', code: '101050102' }, { city: '呼兰', code: '101050103' }, { city: '阿城', code: '101050104' }, { city: '宾县', code: '101050105' }, { city: '依兰', code: '101050106' }, { city: '巴彦', code: '101050107' }, { city: '通河', code: '101050108' }, { city: '方正', code: '101050109' }, { city: '延寿', code: '101050110' }, { city: '尚志', code: '101050111' }, { city: '五常', code: '101050112' }, { city: '木兰', code: '101050113' }, { city: '齐齐哈尔', code: '101050201' }, { city: '讷河', code: '101050202' }, { city: '龙江', code: '101050203' }, { city: '甘南', code: '101050204' }, { city: '富裕', code: '101050205' }, { city: '依安', code: '101050206' }, { city: '拜泉', code: '101050207' }, { city: '克山', code: '101050208' }, { city: '克东', code: '101050209' }, { city: '泰来', code: '101050210' }, { city: '牡丹江', code: '101050301' }, { city: '海林', code: '101050302' }, { city: '穆棱', code: '101050303' }, { city: '林口', code: '101050304' }, { city: '绥芬河', code: '101050305' }, { city: '宁安', code: '101050306' }, { city: '东宁', code: '101050307' }, { city: '佳木斯', code: '101050401' }, { city: '汤原', code: '101050402' }, { city: '抚远', code: '101050403' }, { city: '桦川', code: '101050404' }, { city: '桦南', code: '101050405' }, { city: '同江', code: '101050406' }, { city: '富锦', code: '101050407' }, { city: '绥化', code: '101050501' }, { city: '肇东', code: '101050502' }, { city: '安达', code: '101050503' }, { city: '海伦', code: '101050504' }, { city: '明水', code: '101050505' }, { city: '望奎', code: '101050506' }, { city: '兰西', code: '101050507' }, { city: '青冈', code: '101050508' }, { city: '庆安', code: '101050509' }, { city: '绥棱', code: '101050510' }, { city: '黑河', code: '101050601' }, { city: '嫩江', code: '101050602' }, { city: '孙吴', code: '101050603' }, { city: '逊克', code: '101050604' }, { city: '五大连池', code: '101050605' }, { city: '北安', code: '101050606' }, { city: '大兴安岭', code: '101050701' }, { city: '塔河', code: '101050702' }, { city: '漠河', code: '101050703' }, { city: '呼玛', code: '101050704' }, { city: '呼中', code: '101050705' }, { city: '新林', code: '101050706' }, { city: '阿木尔', code: '101050707' }, { city: '加格达奇', code: '101050708' }, { city: '伊春', code: '101050801' }, { city: '乌伊岭', code: '101050802' }, { city: '五营', code: '101050803' }, { city: '铁力', code: '101050804' }, { city: '嘉荫', code: '101050805' }, { city: '大庆', code: '101050901' }, { city: '林甸', code: '101050902' }, { city: '肇州', code: '101050903' }, { city: '肇源', code: '101050904' }, { city: '杜蒙', code: '101050905' }, { city: '七台河', code: '101051002' }, { city: '勃利', code: '101051003' }, { city: '鸡西', code: '101051101' }, { city: '虎林', code: '101051102' }, { city: '密山', code: '101051103' }, { city: '鸡东', code: '101051104' }, { city: '鹤岗', code: '101051201' }, { city: '绥滨', code: '101051202' }, { city: '萝北', code: '101051203' }, { city: '双鸭山', code: '101051301' }, { city: '集贤', code: '101051302' }, { city: '宝清', code: '101051303' }, { city: '饶河', code: '101051304' }, { city: '长春', code: '101060101' }, { city: '农安', code: '101060102' }, { city: '德惠', code: '101060103' }, { city: '九台', code: '101060104' }, { city: '榆树', code: '101060105' }, { city: '双阳', code: '101060106' }, { city: '吉林', code: '101060201' }, { city: '舒兰', code: '101060202' }, { city: '永吉', code: '101060203' }, { city: '蛟河', code: '101060204' }, { city: '磐石', code: '101060205' }, { city: '桦甸', code: '101060206' }, { city: '烟筒山', code: '101060207' }, { city: '延吉', code: '101060301' }, { city: '敦化', code: '101060302' }, { city: '安图', code: '101060303' }, { city: '汪清', code: '101060304' }, { city: '和龙', code: '101060305' }, { city: '天池', code: '101060306' }, { city: '龙井', code: '101060307' }, { city: '珲春', code: '101060308' }, { city: '图们', code: '101060309' }, { city: '松江', code: '101060310' }, { city: '罗子沟', code: '101060311' }, { city: '延边', code: '101060312' }, { city: '四平', code: '101060401' }, { city: '双辽', code: '101060402' }, { city: '梨树', code: '101060403' }, { city: '公主岭', code: '101060404' }, { city: '伊通', code: '101060405' }, { city: '孤家子', code: '101060406' }, { city: '通化', code: '101060501' }, { city: '梅河口', code: '101060502' }, { city: '柳河', code: '101060503' }, { city: '辉南', code: '101060504' }, { city: '集安', code: '101060505' }, { city: '通化县', code: '101060506' }, { city: '白城', code: '101060601' }, { city: '洮南', code: '101060602' }, { city: '大安', code: '101060603' }, { city: '镇赉', code: '101060604' }, { city: '通榆', code: '101060605' }, { city: '辽源', code: '101060701' }, { city: '东丰', code: '101060702' }, { city: '*', code: '101060801' }, { city: '乾安', code: '101060802' }, { city: '前郭', code: '101060803' }, { city: '长岭', code: '101060804' }, { city: '扶余', code: '101060805' }, { city: '白山', code: '101060901' }, { city: '靖宇', code: '101060902' }, { city: '临江', code: '101060903' }, { city: '东岗', code: '101060904' }, { city: '长白', code: '101060905' }, { city: '沈阳', code: '101070101' }, { city: '苏家屯', code: '101070102' }, { city: '辽中', code: '101070103' }, { city: '康平', code: '101070104' }, { city: '法库', code: '101070105' }, { city: '新民', code: '101070106' }, { city: '于洪', code: '101070107' }, { city: '新城子', code: '101070108' }, { city: '大连', code: '101070201' }, { city: '瓦房店', code: '101070202' }, { city: '金州', code: '101070203' }, { city: '普兰店', code: '101070204' }, { city: '旅顺', code: '101070205' }, { city: '长海', code: '101070206' }, { city: '庄河', code: '101070207' }, { city: '皮口', code: '101070208' }, { city: '海洋岛', code: '101070209' }, { city: '鞍山', code: '101070301' }, { city: '台安', code: '101070302' }, { city: '岫岩', code: '101070303' }, { city: '海城', code: '101070304' }, { city: '抚顺', code: '101070401' }, { city: '清原', code: '101070403' }, { city: '章党', code: '101070404' }, { city: '本溪', code: '101070501' }, { city: '本溪县', code: '101070502' }, { city: '草河口', code: '101070503' }, { city: '桓仁', code: '101070504' }, { city: '丹东', code: '101070601' }, { city: '凤城', code: '101070602' }, { city: '宽甸', code: '101070603' }, { city: '东港', code: '101070604' }, { city: '东沟', code: '101070605' }, { city: '锦州', code: '101070701' }, { city: '凌海', code: '101070702' }, { city: '北宁', code: '101070703' }, { city: '义县', code: '101070704' }, { city: '黑山', code: '101070705' }, { city: '北镇', code: '101070706' }, { city: '营口', code: '101070801' }, { city: '大石桥', code: '101070802' }, { city: '盖州', code: '101070803' }, { city: '阜新', code: '101070901' }, { city: '彰武', code: '101070902' }, { city: '辽阳', code: '101071001' }, { city: '辽阳县', code: '101071002' }, { city: '灯塔', code: '101071003' }, { city: '铁岭', code: '101071101' }, { city: '开原', code: '101071102' }, { city: '昌图', code: '101071103' }, { city: '西丰', code: '101071104' }, { city: '朝阳', code: '101071201' }, { city: '建平', code: '101071202' }, { city: '凌源', code: '101071203' }, { city: '喀左', code: '101071204' }, { city: '北票', code: '101071205' }, { city: '羊山', code: '101071206' }, { city: '建平县', code: '101071207' }, { city: '盘锦', code: '101071301' }, { city: '大洼', code: '101071302' }, { city: '盘山', code: '101071303' }, { city: '葫芦岛', code: '101071401' }, { city: '建昌', code: '101071402' }, { city: '绥中', code: '101071403' }, { city: '兴城', code: '101071404' }, { city: '呼和浩特', code: '101080101' }, { city: '土默特左旗', code: '101080102' }, { city: '托克托', code: '101080103' }, { city: '和林格尔', code: '101080104' }, { city: '清水河', code: '101080105' }, { city: '呼和浩特市郊区', code: '101080106' }, { city: '武川', code: '101080107' }, { city: '包头', code: '101080201' }, { city: '白云鄂博', code: '101080202' }, { city: '满都拉', code: '101080203' }, { city: '土默特右旗', code: '101080204' }, { city: '固阳', code: '101080205' }, { city: '达尔罕茂明安联合旗', code: '101080206' }, { city: '石拐', code: '101080207' }, { city: '乌海', code: '101080301' }, { city: '集宁', code: '101080401' }, { city: '卓资', code: '101080402' }, { city: '化德', code: '101080403' }, { city: '商都', code: '101080404' }, { city: '希拉穆仁', code: '101080405' }, { city: '兴和', code: '101080406' }, { city: '凉城', code: '101080407' }, { city: '察哈尔右翼前旗', code: '101080408' }, { city: '察哈尔右翼中旗', code: '101080409' }, { city: '察哈尔右翼后旗', code: '101080410' }, { city: '四子王旗', code: '101080411' }, { city: '丰镇', code: '101080412' }, { city: '通辽', code: '101080501' }, { city: '舍伯吐', code: '101080502' }, { city: '科尔沁左翼中旗', code: '101080503' }, { city: '科尔沁左翼后旗', code: '101080504' }, { city: '青龙山', code: '101080505' }, { city: '开鲁', code: '101080506' }, { city: '库伦旗', code: '101080507' }, { city: '奈曼旗', code: '101080508' }, { city: '扎鲁特旗', code: '101080509' }, { city: '高力板', code: '101080510' }, { city: '巴雅尔吐胡硕', code: '101080511' }, { city: '通辽钱家店', code: '101080512' }, { city: '赤峰', code: '101080601' }, { city: '赤峰郊区站', code: '101080602' }, { city: '阿鲁科尔沁旗', code: '101080603' }, { city: '浩尔吐', code: '101080604' }, { city: '巴林左旗', code: '101080605' }, { city: '巴林右旗', code: '101080606' }, { city: '林西', code: '101080607' }, { city: '克什克腾旗', code: '101080608' }, { city: '翁牛特旗', code: '101080609' }, { city: '岗子', code: '101080610' }, { city: '喀喇沁旗', code: '101080611' }, { city: '八里罕', code: '101080612' }, { city: '宁城', code: '101080613' }, { city: '敖汉旗', code: '101080614' }, { city: '宝过图', code: '101080615' }, { city: '鄂尔多斯', code: '101080701' }, { city: '达拉特旗', code: '101080703' }, { city: '准格尔旗', code: '101080704' }, { city: '鄂托克前旗', code: '101080705' }, { city: '河南', code: '101080706' }, { city: '伊克乌素', code: '101080707' }, { city: '鄂托克旗', code: '101080708' }, { city: '杭锦旗', code: '101080709' }, { city: '乌审旗', code: '101080710' }, { city: '伊金霍洛旗', code: '101080711' }, { city: '乌审召', code: '101080712' }, { city: '东胜', code: '101080713' }, { city: '临河', code: '101080801' }, { city: '五原', code: '101080802' }, { city: '磴口', code: '101080803' }, { city: '乌拉特前旗', code: '101080804' }, { city: '大佘太', code: '101080805' }, { city: '乌拉特中旗', code: '101080806' }, { city: '乌拉特后旗', code: '101080807' }, { city: '海力素', code: '101080808' }, { city: '那仁宝力格', code: '101080809' }, { city: '杭锦后旗', code: '101080810' }, { city: '巴盟农试站', code: '101080811' }, { city: '锡林浩特', code: '101080901' }, { city: '朝克乌拉', code: '101080902' }, { city: '二连浩特', code: '101080903' }, { city: '阿巴嘎旗', code: '101080904' }, { city: '伊和郭勒', code: '101080905' }, { city: '苏尼特左旗', code: '101080906' }, { city: '苏尼特右旗', code: '101080907' }, { city: '朱日和', code: '101080908' }, { city: '东乌珠穆沁旗', code: '101080909' }, { city: '西乌珠穆沁旗', code: '101080910' }, { city: '太仆寺旗', code: '101080911' }, { city: '镶黄旗', code: '101080912' }, { city: '正镶白旗', code: '101080913' }, { city: '正兰旗', code: '101080914' }, { city: '多伦', code: '101080915' }, { city: '博克图', code: '101080916' }, { city: '乌拉盖', code: '101080917' }, { city: '白日乌拉', code: '101080918' }, { city: '那日图', code: '101080919' }, { city: '呼伦贝尔', code: '101081000' }, { city: '海拉尔', code: '101081001' }, { city: '小二沟', code: '101081002' }, { city: '阿荣旗', code: '101081003' }, { city: '莫力达瓦旗', code: '101081004' }, { city: '鄂伦春旗', code: '101081005' }, { city: '鄂温克旗', code: '101081006' }, { city: '陈巴尔虎旗', code: '101081007' }, { city: '新巴尔虎左旗', code: '101081008' }, { city: '新巴尔虎右旗', code: '101081009' }, { city: '满洲里', code: '101081010' }, { city: '牙克石', code: '101081011' }, { city: '扎兰屯', code: '101081012' }, { city: '额尔古纳', code: '101081014' }, { city: '根河', code: '101081015' }, { city: '图里河', code: '101081016' }, { city: '乌兰浩特', code: '101081101' }, { city: '阿尔山', code: '101081102' }, { city: '科尔沁右翼中旗', code: '101081103' }, { city: '胡尔勒', code: '101081104' }, { city: '扎赉特旗', code: '101081105' }, { city: '索伦', code: '101081106' }, { city: '突泉', code: '101081107' }, { city: '霍林郭勒', code: '101081108' }, { city: '阿拉善左旗', code: '101081201' }, { city: '阿拉善右旗', code: '101081202' }, { city: '额济纳旗', code: '101081203' }, { city: '拐子湖', code: '101081204' }, { city: '吉兰太', code: '101081205' }, { city: '锡林高勒', code: '101081206' }, { city: '头道湖', code: '101081207' }, { city: '中泉子', code: '101081208' }, { city: '巴彦诺尔贡', code: '101081209' }, { city: '雅布赖', code: '101081210' }, { city: '乌斯太', code: '101081211' }, { city: '孪井滩', code: '101081212' }, { city: '石家庄', code: '101090101' }, { city: '井陉', code: '101090102' }, { city: '正定', code: '101090103' }, { city: '栾城', code: '101090104' }, { city: '行唐', code: '101090105' }, { city: '灵寿', code: '101090106' }, { city: '高邑', code: '101090107' }, { city: '深泽', code: '101090108' }, { city: '赞皇', code: '101090109' }, { city: '无极', code: '101090110' }, { city: '平山', code: '101090111' }, { city: '元氏', code: '101090112' }, { city: '赵县', code: '101090113' }, { city: '辛集', code: '101090114' }, { city: '藁城', code: '101090115' }, { city: '晋洲', code: '101090116' }, { city: '新乐', code: '101090117' }, { city: '保定', code: '101090201' }, { city: '满城', code: '101090202' }, { city: '阜平', code: '101090203' }, { city: '徐水', code: '101090204' }, { city: '唐县', code: '101090205' }, { city: '高阳', code: '101090206' }, { city: '容城', code: '101090207' }, { city: '紫荆关', code: '101090208' }, { city: '涞源', code: '101090209' }, { city: '望都', code: '101090210' }, { city: '安新', code: '101090211' }, { city: '易县', code: '101090212' }, { city: '涞水', code: '101090213' }, { city: '曲阳', code: '101090214' }, { city: '蠡县', code: '101090215' }, { city: '顺平', code: '101090216' }, { city: '雄县', code: '101090217' }, { city: '涿州', code: '101090218' }, { city: '定州', code: '101090219' }, { city: '安国', code: '101090220' }, { city: '高碑店', code: '101090221' }, { city: '张家口', code: '101090301' }, { city: '宣化', code: '101090302' }, { city: '张北', code: '101090303' }, { city: '康保', code: '101090304' }, { city: '沽源', code: '101090305' }, { city: '尚义', code: '101090306' }, { city: '蔚县', code: '101090307' }, { city: '阳原', code: '101090308' }, { city: '怀安', code: '101090309' }, { city: '万全', code: '101090310' }, { city: '怀来', code: '101090311' }, { city: '涿鹿', code: '101090312' }, { city: '赤城', code: '101090313' }, { city: '崇礼', code: '101090314' }, { city: '承德', code: '101090402' }, { city: '承德县', code: '101090403' }, { city: '兴隆', code: '101090404' }, { city: '平泉', code: '101090405' }, { city: '滦平', code: '101090406' }, { city: '隆化', code: '101090407' }, { city: '丰宁', code: '101090408' }, { city: '宽城', code: '101090409' }, { city: '围场', code: '101090410' }, { city: '塞罕坎', code: '101090411' }, { city: '唐山', code: '101090501' }, { city: '丰南', code: '101090502' }, { city: '丰润', code: '101090503' }, { city: '滦县', code: '101090504' }, { city: '滦南', code: '101090505' }, { city: '乐亭', code: '101090506' }, { city: '迁西', code: '101090507' }, { city: '玉田', code: '101090508' }, { city: '唐海', code: '101090509' }, { city: '遵化', code: '101090510' }, { city: '迁安', code: '101090511' }, { city: '廊坊', code: '101090601' }, { city: '固安', code: '101090602' }, { city: '永清', code: '101090603' }, { city: '香河', code: '101090604' }, { city: '大城', code: '101090605' }, { city: '文安', code: '101090606' }, { city: '大厂', code: '101090607' }, { city: '霸州', code: '101090608' }, { city: '三河', code: '101090609' }, { city: '沧州', code: '101090701' }, { city: '青县', code: '101090702' }, { city: '东光', code: '101090703' }, { city: '海兴', code: '101090704' }, { city: '盐山', code: '101090705' }, { city: '肃宁', code: '101090706' }, { city: '南皮', code: '101090707' }, { city: '吴桥', code: '101090708' }, { city: '献县', code: '101090709' }, { city: '孟村', code: '101090710' }, { city: '泊头', code: '101090711' }, { city: '任丘', code: '101090712' }, { city: '黄骅', code: '101090713' }, { city: '河间', code: '101090714' }, { city: '曹妃甸', code: '101090715' }, { city: '衡水', code: '101090801' }, { city: '枣强', code: '101090802' }, { city: '武邑', code: '101090803' }, { city: '武强', code: '101090804' }, { city: '饶阳', code: '101090805' }, { city: '安平', code: '101090806' }, { city: '故城', code: '101090807' }, { city: '景县', code: '101090808' }, { city: '阜城', code: '101090809' }, { city: '冀州', code: '101090810' }, { city: '深州', code: '101090811' }, { city: '邢台', code: '101090901' }, { city: '临城', code: '101090902' }, { city: '邢台县浆水', code: '101090903' }, { city: '内邱', code: '101090904' }, { city: '柏乡', code: '101090905' }, { city: '隆尧', code: '101090906' }, { city: '南和', code: '101090907' }, { city: '宁晋', code: '101090908' }, { city: '巨鹿', code: '101090909' }, { city: '新河', code: '101090910' }, { city: '广宗', code: '101090911' }, { city: '平乡', code: '101090912' }, { city: '威县', code: '101090913' }, { city: '清河', code: '101090914' }, { city: '临西', code: '101090915' }, { city: '南宫', code: '101090916' }, { city: '沙河', code: '101090917' }, { city: '任县', code: '101090918' }, { city: '邯郸', code: '101091001' }, { city: '峰峰', code: '101091002' }, { city: '临漳', code: '101091003' }, { city: '成安', code: '101091004' }, { city: '大名', code: '101091005' }, { city: '涉县', code: '101091006' }, { city: '磁县', code: '101091007' }, { city: '肥乡', code: '101091008' }, { city: '永年', code: '101091009' }, { city: '邱县', code: '101091010' }, { city: '鸡泽', code: '101091011' }, { city: '广平', code: '101091012' }, { city: '馆陶', code: '101091013' }, { city: '魏县', code: '101091014' }, { city: '曲周', code: '101091015' }, { city: '武安', code: '101091016' }, { city: '秦皇岛', code: '101091101' }, { city: '青龙', code: '101091102' }, { city: '昌黎', code: '101091103' }, { city: '抚宁', code: '101091104' }, { city: '卢龙', code: '101091105' }, { city: '北戴河', code: '101091106' }, { city: '太原', code: '101100101' }, { city: '清徐', code: '101100102' }, { city: '阳曲', code: '101100103' }, { city: '娄烦', code: '101100104' }, { city: '太原古交区', code: '101100105' }, { city: '太原北郊', code: '101100106' }, { city: '太原南郊', code: '101100107' }, { city: '大同', code: '101100201' }, { city: '阳高', code: '101100202' }, { city: '大同县', code: '101100203' }, { city: '天镇', code: '101100204' }, { city: '广灵', code: '101100205' }, { city: '灵邱', code: '101100206' }, { city: '浑源', code: '101100207' }, { city: '左云', code: '101100208' }, { city: '阳泉', code: '101100301' }, { city: '盂县', code: '101100302' }, { city: '平定', code: '101100303' }, { city: '晋中', code: '101100401' }, { city: '榆次', code: '101100402' }, { city: '榆社', code: '101100403' }, { city: '左权', code: '101100404' }, { city: '和顺', code: '101100405' }, { city: '昔阳', code: '101100406' }, { city: '寿阳', code: '101100407' }, { city: '太谷', code: '101100408' }, { city: '祁县', code: '101100409' }, { city: '平遥', code: '101100410' }, { city: '灵石', code: '101100411' }, { city: '介休', code: '101100412' }, { city: '长治', code: '101100501' }, { city: '黎城', code: '101100502' }, { city: '屯留', code: '101100503' }, { city: '潞城', code: '101100504' }, { city: '襄垣', code: '101100505' }, { city: '平顺', code: '101100506' }, { city: '武乡', code: '101100507' }, { city: '沁县', code: '101100508' }, { city: '长子', code: '101100509' }, { city: '沁源', code: '101100510' }, { city: '壶关', code: '101100511' }, { city: '晋城', code: '101100601' }, { city: '沁水', code: '101100602' }, { city: '阳城', code: '101100603' }, { city: '陵川', code: '101100604' }, { city: '高平', code: '101100605' }, { city: '临汾', code: '101100701' }, { city: '曲沃', code: '101100702' }, { city: '永和', code: '101100703' }, { city: '隰县', code: '101100704' }, { city: '大宁', code: '101100705' }, { city: '吉县', code: '101100706' }, { city: '襄汾', code: '101100707' }, { city: '蒲县', code: '101100708' }, { city: '汾西', code: '101100709' }, { city: '洪洞', code: '101100710' }, { city: '霍州', code: '101100711' }, { city: '乡宁', code: '101100712' }, { city: '翼城', code: '101100713' }, { city: '侯马', code: '101100714' }, { city: '浮山', code: '101100715' }, { city: '安泽', code: '101100716' }, { city: '古县', code: '101100717' }, { city: '运城', code: '101100801' }, { city: '临猗', code: '101100802' }, { city: '稷山', code: '101100803' }, { city: '万荣', code: '101100804' }, { city: '河津', code: '101100805' }, { city: '新绛', code: '101100806' }, { city: '绛县', code: '101100807' }, { city: '闻喜', code: '101100808' }, { city: '垣曲', code: '101100809' }, { city: '永济', code: '101100810' }, { city: '芮城', code: '101100811' }, { city: '夏县', code: '101100812' }, { city: '平陆', code: '101100813' }, { city: '朔州', code: '101100901' }, { city: '平鲁', code: '101100902' }, { city: '山阴', code: '101100903' }, { city: '右玉', code: '101100904' }, { city: '应县', code: '101100905' }, { city: '怀仁', code: '101100906' }, { city: '忻州', code: '101101001' }, { city: '定襄', code: '101101002' }, { city: '五台县豆村', code: '101101003' }, { city: '河曲', code: '101101004' }, { city: '偏关', code: '101101005' }, { city: '神池', code: '101101006' }, { city: '宁武', code: '101101007' }, { city: '代县', code: '101101008' }, { city: '繁峙', code: '101101009' }, { city: '五台山', code: '101101010' }, { city: '保德', code: '101101011' }, { city: '静乐', code: '101101012' }, { city: '岢岚', code: '101101013' }, { city: '五寨', code: '101101014' }, { city: '原平', code: '101101015' }, { city: '吕梁', code: '101101100' }, { city: '离石', code: '101101101' }, { city: '临县', code: '101101102' }, { city: '兴县', code: '101101103' }, { city: '岚县', code: '101101104' }, { city: '柳林', code: '101101105' }, { city: '石楼', code: '101101106' }, { city: '方山', code: '101101107' }, { city: '交口', code: '101101108' }, { city: '中阳', code: '101101109' }, { city: '孝义', code: '101101110' }, { city: '汾阳', code: '101101111' }, { city: '文水', code: '101101112' }, { city: '交城', code: '101101113' }, { city: '西安', code: '101110101' }, { city: '长安', code: '101110102' }, { city: '临潼', code: '101110103' }, { city: '蓝田', code: '101110104' }, { city: '周至', code: '101110105' }, { city: '户县', code: '101110106' }, { city: '高陵', code: '101110107' }, { city: '杨凌', code: '101110108' }, { city: '咸阳', code: '101110200' }, { city: '三原', code: '101110201' }, { city: '礼泉', code: '101110202' }, { city: '永寿', code: '101110203' }, { city: '淳化', code: '101110204' }, { city: '泾阳', code: '101110205' }, { city: '武功', code: '101110206' }, { city: '乾县', code: '101110207' }, { city: '彬县', code: '101110208' }, { city: '长武', code: '101110209' }, { city: '旬邑', code: '101110210' }, { city: '兴平', code: '101110211' }, { city: '延安', code: '101110300' }, { city: '延长', code: '101110301' }, { city: '延川', code: '101110302' }, { city: '子长', code: '101110303' }, { city: '宜川', code: '101110304' }, { city: '富县', code: '101110305' }, { city: '志丹', code: '101110306' }, { city: '安塞', code: '101110307' }, { city: '甘泉', code: '101110308' }, { city: '洛川', code: '101110309' }, { city: '黄陵', code: '101110310' }, { city: '黄龙', code: '101110311' }, { city: '吴起', code: '101110312' }, { city: '榆林', code: '101110401' }, { city: '府谷', code: '101110402' }, { city: '神木', code: '101110403' }, { city: '佳县', code: '101110404' }, { city: '定边', code: '101110405' }, { city: '靖边', code: '101110406' }, { city: '横山', code: '101110407' }, { city: '米脂', code: '101110408' }, { city: '子洲', code: '101110409' }, { city: '绥德', code: '101110410' }, { city: '吴堡', code: '101110411' }, { city: '清涧', code: '101110412' }, { city: '渭南', code: '101110501' }, { city: '华县', code: '101110502' }, { city: '潼关', code: '101110503' }, { city: '大荔', code: '101110504' }, { city: '白水', code: '101110505' }, { city: '富平', code: '101110506' }, { city: '蒲城', code: '101110507' }, { city: '澄城', code: '101110508' }, { city: '合阳', code: '101110509' }, { city: '韩城', code: '101110510' }, { city: '华阴', code: '101110511' }, { city: '华山', code: '101110512' }, { city: '商洛', code: '101110601' }, { city: '洛南', code: '101110602' }, { city: '柞水', code: '101110603' }, { city: '镇安', code: '101110605' }, { city: '丹凤', code: '101110606' }, { city: '商南', code: '101110607' }, { city: '山阳', code: '101110608' }, { city: '安康', code: '101110701' }, { city: '*', code: '101110702' }, { city: '石泉', code: '101110703' }, { city: '汉阴', code: '101110704' }, { city: '旬阳', code: '101110705' }, { city: '岚皋', code: '101110706' }, { city: '平利', code: '101110707' }, { city: '白河', code: '101110708' }, { city: '镇坪', code: '101110709' }, { city: '宁陕', code: '101110710' }, { city: '汉中', code: '101110801' }, { city: '略阳', code: '101110802' }, { city: '勉县', code: '101110803' }, { city: '留坝', code: '101110804' }, { city: '洋县', code: '101110805' }, { city: '城固', code: '101110806' }, { city: '西乡', code: '101110807' }, { city: '佛坪', code: '101110808' }, { city: '宁强', code: '101110809' }, { city: '南郑', code: '101110810' }, { city: '镇巴', code: '101110811' }, { city: '宝鸡', code: '101110901' }, { city: '宝鸡县', code: '101110902' }, { city: '千阳', code: '101110903' }, { city: '麟游', code: '101110904' }, { city: '岐山', code: '101110905' }, { city: '凤翔', code: '101110906' }, { city: '扶风', code: '101110907' }, { city: '眉县', code: '101110908' }, { city: '太白', code: '101110909' }, { city: '凤县', code: '101110910' }, { city: '陇县', code: '101110911' }, { city: '铜川', code: '101111001' }, { city: '耀县', code: '101111002' }, { city: '宜君', code: '101111003' }, { city: '济南', code: '101120101' }, { city: '长清', code: '101120102' }, { city: '商河', code: '101120103' }, { city: '章丘', code: '101120104' }, { city: '平阴', code: '101120105' }, { city: '济阳', code: '101120106' }, { city: '青岛', code: '101120201' }, { city: '崂山', code: '101120202' }, { city: '潮连岛', code: '101120203' }, { city: '即墨', code: '101120204' }, { city: '胶州', code: '101120205' }, { city: '胶南', code: '101120206' }, { city: '莱西', code: '101120207' }, { city: '平度', code: '101120208' }, { city: '淄博', code: '101120301' }, { city: '淄川', code: '101120302' }, { city: '博山', code: '101120303' }, { city: '高青', code: '101120304' }, { city: '周村', code: '101120305' }, { city: '沂源', code: '101120306' }, { city: '桓台', code: '101120307' }, { city: '临淄', code: '101120308' }, { city: '德州', code: '101120401' }, { city: '武城', code: '101120402' }, { city: '临邑', code: '101120403' }, { city: '陵县', code: '101120404' }, { city: '齐河', code: '101120405' }, { city: '乐陵', code: '101120406' }, { city: '庆云', code: '101120407' }, { city: '平原', code: '101120408' }, { city: '宁津', code: '101120409' }, { city: '夏津', code: '101120410' }, { city: '禹城', code: '101120411' }, { city: '烟台', code: '101120501' }, { city: '莱州', code: '101120502' }, { city: '长岛', code: '101120503' }, { city: '蓬莱', code: '101120504' }, { city: '龙口', code: '101120505' }, { city: '招远', code: '101120506' }, { city: '栖霞', code: '101120507' }, { city: '福山', code: '101120508' }, { city: '牟平', code: '101120509' }, { city: '莱阳', code: '101120510' }, { city: '海阳', code: '101120511' }, { city: '千里岩', code: '101120512' }, { city: '潍坊', code: '101120601' }, { city: '青州', code: '101120602' }, { city: '寿光', code: '101120603' }, { city: '临朐', code: '101120604' }, { city: '昌乐', code: '101120605' }, { city: '昌邑', code: '101120606' }, { city: '安丘', code: '101120607' }, { city: '高密', code: '101120608' }, { city: '诸城', code: '101120609' }, { city: '济宁', code: '101120701' }, { city: '嘉祥', code: '101120702' }, { city: '微山', code: '101120703' }, { city: '鱼台', code: '101120704' }, { city: '兖州', code: '101120705' }, { city: '金乡', code: '101120706' }, { city: '汶上', code: '101120707' }, { city: '泗水', code: '101120708' }, { city: '梁山', code: '101120709' }, { city: '曲阜', code: '101120710' }, { city: '邹城', code: '101120711' }, { city: '泰安', code: '101120801' }, { city: '新泰', code: '101120802' }, { city: '泰山', code: '101120803' }, { city: '肥城', code: '101120804' }, { city: '东平', code: '101120805' }, { city: '宁阳', code: '101120806' }, { city: '临沂', code: '101120901' }, { city: '莒南', code: '101120902' }, { city: '沂南', code: '101120903' }, { city: '苍山', code: '101120904' }, { city: '临沭', code: '101120905' }, { city: '郯城', code: '101120906' }, { city: '蒙阴', code: '101120907' }, { city: '平邑', code: '101120908' }, { city: '费县', code: '101120909' }, { city: '沂水', code: '101120910' }, { city: '马站', code: '101120911' }, { city: '菏泽', code: '101121001' }, { city: '鄄城', code: '101121002' }, { city: '郓城', code: '101121003' }, { city: '东明', code: '101121004' }, { city: '定陶', code: '101121005' }, { city: '巨野', code: '101121006' }, { city: '曹县', code: '101121007' }, { city: '成武', code: '101121008' }, { city: '单县', code: '101121009' }, { city: '滨州', code: '101121101' }, { city: '博兴', code: '101121102' }, { city: '无棣', code: '101121103' }, { city: '阳信', code: '101121104' }, { city: '惠民', code: '101121105' }, { city: '沾化', code: '101121106' }, { city: '邹平', code: '101121107' }, { city: '东营', code: '101121201' }, { city: '河口', code: '101121202' }, { city: '垦利', code: '101121203' }, { city: '利津', code: '101121204' }, { city: '广饶', code: '101121205' }, { city: '威海', code: '101121301' }, { city: '文登', code: '101121302' }, { city: '荣成', code: '101121303' }, { city: '乳山', code: '101121304' }, { city: '成山头', code: '101121305' }, { city: '石岛', code: '101121306' }, { city: '枣庄', code: '101121401' }, { city: '薛城', code: '101121402' }, { city: '峄城', code: '101121403' }, { city: '台儿庄', code: '101121404' }, { city: '滕州', code: '101121405' }, { city: '日照', code: '101121501' }, { city: '五莲', code: '101121502' }, { city: '莒县', code: '101121503' }, { city: '莱芜', code: '101121601' }, { city: '聊城', code: '101121701' }, { city: '冠县', code: '101121702' }, { city: '阳谷', code: '101121703' }, { city: '高唐', code: '101121704' }, { city: '茌平', code: '101121705' }, { city: '东阿', code: '101121706' }, { city: '临清', code: '101121707' }, { city: '朝城', code: '101121708' }, { city: '莘县', code: '101121709' }, { city: '乌鲁木齐', code: '101130101' }, { city: '蔡家湖', code: '101130102' }, { city: '小渠子', code: '101130103' }, { city: '巴仑台', code: '101130104' }, { city: '达坂城', code: '101130105' }, { city: '十三间房气象站', code: '101130106' }, { city: '天山大西沟', code: '101130107' }, { city: '乌鲁木齐牧试站', code: '101130108' }, { city: '天池', code: '101130109' }, { city: '白杨沟', code: '101130110' }, { city: '克拉玛依', code: '101130201' }, { city: '石河子', code: '101130301' }, { city: '炮台', code: '101130302' }, { city: '莫索湾', code: '101130303' }, { city: '乌兰乌苏', code: '101130304' }, { city: '昌吉', code: '101130401' }, { city: '呼图壁', code: '101130402' }, { city: '米泉', code: '101130403' }, { city: '阜康', code: '101130404' }, { city: '吉木萨尔', code: '101130405' }, { city: '奇台', code: '101130406' }, { city: '玛纳斯', code: '101130407' }, { city: '木垒', code: '101130408' }, { city: '北塔山', code: '101130409' }, { city: '吐鲁番', code: '101130501' }, { city: '托克逊', code: '101130502' }, { city: '吐鲁番东坎', code: '101130503' }, { city: '鄯善', code: '101130504' }, { city: '红柳河', code: '101130505' }, { city: '库尔勒', code: '101130601' }, { city: '轮台', code: '101130602' }, { city: '尉犁', code: '101130603' }, { city: '若羌', code: '101130604' }, { city: '且末', code: '101130605' }, { city: '和静', code: '101130606' }, { city: '焉耆', code: '101130607' }, { city: '和硕', code: '101130608' }, { city: '库米什', code: '101130609' }, { city: '巴音布鲁克', code: '101130610' }, { city: '铁干里克', code: '101130611' }, { city: '博湖', code: '101130612' }, { city: '塔中', code: '101130613' }, { city: '阿拉尔', code: '101130701' }, { city: '阿克苏', code: '101130801' }, { city: '乌什', code: '101130802' }, { city: '温宿', code: '101130803' }, { city: '拜城', code: '101130804' }, { city: '新和', code: '101130805' }, { city: '沙雅', code: '101130806' }, { city: '库车', code: '101130807' }, { city: '柯坪', code: '101130808' }, { city: '阿瓦提', code: '101130809' }, { city: '喀什', code: '101130901' }, { city: '英吉沙', code: '101130902' }, { city: '塔什库尔干', code: '101130903' }, { city: '麦盖提', code: '101130904' }, { city: '莎车', code: '101130905' }, { city: '叶城', code: '101130906' }, { city: '泽普', code: '101130907' }, { city: '巴楚', code: '101130908' }, { city: '岳普湖', code: '101130909' }, { city: '伽师', code: '101130910' }, { city: '伊宁', code: '101131001' }, { city: '察布查尔', code: '101131002' }, { city: '尼勒克', code: '101131003' }, { city: '伊宁县', code: '101131004' }, { city: '巩留', code: '101131005' }, { city: '新源', code: '101131006' }, { city: '昭苏', code: '101131007' }, { city: '特克斯', code: '101131008' }, { city: '霍城', code: '101131009' }, { city: '霍尔果斯', code: '101131010' }, { city: '塔城', code: '101131101' }, { city: '裕民', code: '101131102' }, { city: '额敏', code: '101131103' }, { city: '和布克赛尔', code: '101131104' }, { city: '托里', code: '101131105' }, { city: '乌苏', code: '101131106' }, { city: '沙湾', code: '101131107' }, { city: '和丰', code: '101131108' }, { city: '哈密', code: '101131201' }, { city: '沁城', code: '101131202' }, { city: '巴里坤', code: '101131203' }, { city: '伊吾', code: '101131204' }, { city: '淖毛湖', code: '101131205' }, { city: '和田', code: '101131301' }, { city: '皮山', code: '101131302' }, { city: '策勒', code: '101131303' }, { city: '墨玉', code: '101131304' }, { city: '洛浦', code: '101131305' }, { city: '民丰', code: '101131306' }, { city: '于田', code: '101131307' }, { city: '阿勒泰', code: '101131401' }, { city: '哈巴河', code: '101131402' }, { city: '一八五团', code: '101131403' }, { city: '黑山头', code: '101131404' }, { city: '吉木乃', code: '101131405' }, { city: '布尔津', code: '101131406' }, { city: '福海', code: '101131407' }, { city: '富蕴', code: '101131408' }, { city: '青河', code: '101131409' }, { city: '安德河', code: '101131410' }, { city: '阿图什', code: '101131501' }, { city: '乌恰', code: '101131502' }, { city: '阿克陶', code: '101131503' }, { city: '阿合奇', code: '101131504' }, { city: '吐尔尕特', code: '101131505' }, { city: '博乐', code: '101131601' }, { city: '温泉', code: '101131602' }, { city: '精河', code: '101131603' }, { city: '阿拉山口', code: '101131606' }, { city: '拉萨', code: '101140101' }, { city: '当雄', code: '101140102' }, { city: '尼木', code: '101140103' }, { city: '墨竹贡卡', code: '101140104' }, { city: '日喀则', code: '101140201' }, { city: '拉孜', code: '101140202' }, { city: '南木林', code: '101140203' }, { city: '聂拉木', code: '101140204' }, { city: '定日', code: '101140205' }, { city: '江孜', code: '101140206' }, { city: '帕里', code: '101140207' }, { city: '山南', code: '101140301' }, { city: '贡嘎', code: '101140302' }, { city: '琼结', code: '101140303' }, { city: '加查', code: '101140304' }, { city: '浪卡子', code: '101140305' }, { city: '错那', code: '101140306' }, { city: '隆子', code: '101140307' }, { city: '泽当', code: '101140308' }, { city: '林芝', code: '101140401' }, { city: '波密', code: '101140402' }, { city: '米林', code: '101140403' }, { city: '察隅', code: '101140404' }, { city: '昌都', code: '101140501' }, { city: '丁青', code: '101140502' }, { city: '类乌齐', code: '101140503' }, { city: '洛隆', code: '101140504' }, { city: '左贡', code: '101140505' }, { city: '芒康', code: '101140506' }, { city: '八宿', code: '101140507' }, { city: '那曲', code: '101140601' }, { city: '嘉黎', code: '101140603' }, { city: '班戈', code: '101140604' }, { city: '安多', code: '101140605' }, { city: '索县', code: '101140606' }, { city: '比如', code: '101140607' }, { city: '阿里', code: '101140701' }, { city: '改则', code: '101140702' }, { city: '申扎', code: '101140703' }, { city: '狮泉河', code: '101140704' }, { city: '普兰', code: '101140705' }, { city: '西宁', code: '101150101' }, { city: '大通', code: '101150102' }, { city: '湟源', code: '101150103' }, { city: '湟中', code: '101150104' }, { city: '铁卜加', code: '101150105' }, { city: '铁卜加寺', code: '101150106' }, { city: '中心站', code: '101150107' }, { city: '海东', code: '101150201' }, { city: '乐都', code: '101150202' }, { city: '民和', code: '101150203' }, { city: '互助', code: '101150204' }, { city: '化隆', code: '101150205' }, { city: '循化', code: '101150206' }, { city: '冷湖', code: '101150207' }, { city: '平安', code: '101150208' }, { city: '黄南', code: '101150301' }, { city: '尖扎', code: '101150302' }, { city: '泽库', code: '101150303' }, { city: '河南', code: '101150304' }, { city: '海南', code: '101150401' }, { city: '江西沟', code: '101150402' }, { city: '贵德', code: '101150404' }, { city: '河卡', code: '101150405' }, { city: '兴海', code: '101150406' }, { city: '贵南', code: '101150407' }, { city: '同德', code: '101150408' }, { city: '共和', code: '101150409' }, { city: '果洛', code: '101150501' }, { city: '班玛', code: '101150502' }, { city: '甘德', code: '101150503' }, { city: '达日', code: '101150504' }, { city: '久治', code: '101150505' }, { city: '玛多', code: '101150506' }, { city: '清水河', code: '101150507' }, { city: '玛沁', code: '101150508' }, { city: '玉树', code: '101150601' }, { city: '托托河', code: '101150602' }, { city: '治多', code: '101150603' }, { city: '杂多', code: '101150604' }, { city: '囊谦', code: '101150605' }, { city: '曲麻莱', code: '101150606' }, { city: '海西', code: '101150701' }, { city: '格尔木', code: '101150702' }, { city: '察尔汉', code: '101150703' }, { city: '野牛沟', code: '101150704' }, { city: '五道梁', code: '101150705' }, { city: '小灶火', code: '101150706' }, { city: '天峻', code: '101150708' }, { city: '乌兰', code: '101150709' }, { city: '都兰', code: '101150710' }, { city: '诺木洪', code: '101150711' }, { city: '茫崖', code: '101150712' }, { city: '大柴旦', code: '101150713' }, { city: '茶卡', code: '101150714' }, { city: '香日德', code: '101150715' }, { city: '德令哈', code: '101150716' }, { city: '海北', code: '101150801' }, { city: '门源', code: '101150802' }, { city: '祁连', code: '101150803' }, { city: '海晏', code: '101150804' }, { city: '托勒', code: '101150805' }, { city: '刚察', code: '101150806' }, { city: '兰州', code: '101160101' }, { city: '皋兰', code: '101160102' }, { city: '永登', code: '101160103' }, { city: '榆中', code: '101160104' }, { city: '定西', code: '101160201' }, { city: '通渭', code: '101160202' }, { city: '陇西', code: '101160203' }, { city: '渭源', code: '101160204' }, { city: '临洮', code: '101160205' }, { city: '漳县', code: '101160206' }, { city: '岷县', code: '101160207' }, { city: '安定', code: '101160208' }, { city: '平凉', code: '101160301' }, { city: '泾川', code: '101160302' }, { city: '灵台', code: '101160303' }, { city: '崇信', code: '101160304' }, { city: '华亭', code: '101160305' }, { city: '庄浪', code: '101160306' }, { city: '静宁', code: '101160307' }, { city: '崆峒', code: '101160308' }, { city: '庆阳', code: '101160401' }, { city: '西峰', code: '101160402' }, { city: '环县', code: '101160403' }, { city: '华池', code: '101160404' }, { city: '合水', code: '101160405' }, { city: '正宁', code: '101160406' }, { city: '宁县', code: '101160407' }, { city: '镇原', code: '101160408' }, { city: '庆城', code: '101160409' }, { city: '武威', code: '101160501' }, { city: '民勤', code: '101160502' }, { city: '古浪', code: '101160503' }, { city: '乌鞘岭', code: '101160504' }, { city: '天祝', code: '101160505' }, { city: '金昌', code: '101160601' }, { city: '永昌', code: '101160602' }, { city: '张掖', code: '101160701' }, { city: '肃南', code: '101160702' }, { city: '民乐', code: '101160703' }, { city: '临泽', code: '101160704' }, { city: '高台', code: '101160705' }, { city: '山丹', code: '101160706' }, { city: '酒泉', code: '101160801' }, { city: '鼎新', code: '101160802' }, { city: '金塔', code: '101160803' }, { city: '马鬃山', code: '101160804' }, { city: '瓜州', code: '101160805' }, { city: '肃北', code: '101160806' }, { city: '玉门镇', code: '101160807' }, { city: '敦煌', code: '101160808' }, { city: '天水', code: '101160901' }, { city: '北道区', code: '101160902' }, { city: '清水', code: '101160903' }, { city: '秦安', code: '101160904' }, { city: '甘谷', code: '101160905' }, { city: '武山', code: '101160906' }, { city: '张家川', code: '101160907' }, { city: '麦积', code: '101160908' }, { city: '武都', code: '101161001' }, { city: '成县', code: '101161002' }, { city: '文县', code: '101161003' }, { city: '宕昌', code: '101161004' }, { city: '康县', code: '101161005' }, { city: '西和', code: '101161006' }, { city: '礼县', code: '101161007' }, { city: '徽县', code: '101161008' }, { city: '两当', code: '101161009' }, { city: '临夏', code: '101161101' }, { city: '康乐', code: '101161102' }, { city: '永靖', code: '101161103' }, { city: '广河', code: '101161104' }, { city: '和政', code: '101161105' }, { city: '东乡', code: '101161106' }, { city: '合作', code: '101161201' }, { city: '临潭', code: '101161202' }, { city: '卓尼', code: '101161203' }, { city: '舟曲', code: '101161204' }, { city: '迭部', code: '101161205' }, { city: '玛曲', code: '101161206' }, { city: '碌曲', code: '101161207' }, { city: '夏河', code: '101161208' }, { city: '白银', code: '101161301' }, { city: '靖远', code: '101161302' }, { city: '会宁', code: '101161303' }, { city: '华家岭', code: '101161304' }, { city: '景泰', code: '101161305' }, { city: '银川', code: '101170101' }, { city: '永宁', code: '101170102' }, { city: '灵武', code: '101170103' }, { city: '贺兰', code: '101170104' }, { city: '石嘴山', code: '101170201' }, { city: '惠农', code: '101170202' }, { city: '平罗', code: '101170203' }, { city: '陶乐', code: '101170204' }, { city: '石炭井', code: '101170205' }, { city: '大武口', code: '101170206' }, { city: '吴忠', code: '101170301' }, { city: '同心', code: '101170302' }, { city: '盐池', code: '101170303' }, { city: '韦州', code: '101170304' }, { city: '麻黄山', code: '101170305' }, { city: '青铜峡', code: '101170306' }, { city: '固原', code: '101170401' }, { city: '西吉', code: '101170402' }, { city: '隆德', code: '101170403' }, { city: '泾源', code: '101170404' }, { city: '六盘山', code: '101170405' }, { city: '彭阳', code: '101170406' }, { city: '中卫', code: '101170501' }, { city: '中宁', code: '101170502' }, { city: '兴仁堡', code: '101170503' }, { city: '海原', code: '101170504' }, { city: '郑州', code: '101180101' }, { city: '巩义', code: '101180102' }, { city: '荥阳', code: '101180103' }, { city: '登封', code: '101180104' }, { city: '新密', code: '101180105' }, { city: '新郑', code: '101180106' }, { city: '中牟', code: '101180107' }, { city: '郑州农试站', code: '101180108' }, { city: '安阳', code: '101180201' }, { city: '汤阴', code: '101180202' }, { city: '滑县', code: '101180203' }, { city: '内黄', code: '101180204' }, { city: '林州', code: '101180205' }, { city: '新乡', code: '101180301' }, { city: '获嘉', code: '101180302' }, { city: '原阳', code: '101180303' }, { city: '辉县', code: '101180304' }, { city: '卫辉', code: '101180305' }, { city: '延津', code: '101180306' }, { city: '封丘', code: '101180307' }, { city: '长垣', code: '101180308' }, { city: '许昌', code: '101180401' }, { city: '鄢陵', code: '101180402' }, { city: '襄城', code: '101180403' }, { city: '长葛', code: '101180404' }, { city: '禹州', code: '101180405' }, { city: '平顶山', code: '101180501' }, { city: '郏县', code: '101180502' }, { city: '宝丰', code: '101180503' }, { city: '汝州', code: '101180504' }, { city: '叶县', code: '101180505' }, { city: '舞钢', code: '101180506' }, { city: '鲁山', code: '101180507' }, { city: '信阳', code: '101180601' }, { city: '息县', code: '101180602' }, { city: '罗山', code: '101180603' }, { city: '光山', code: '101180604' }, { city: '新县', code: '101180605' }, { city: '淮滨', code: '101180606' }, { city: '潢川', code: '101180607' }, { city: '固始', code: '101180608' }, { city: '商城', code: '101180609' }, { city: '鸡公山', code: '101180610' }, { city: '信阳地区农试站', code: '101180611' }, { city: '南阳', code: '101180701' }, { city: '南召', code: '101180702' }, { city: '方城', code: '101180703' }, { city: '社旗', code: '101180704' }, { city: '西峡', code: '101180705' }, { city: '内乡', code: '101180706' }, { city: '镇平', code: '101180707' }, { city: '淅川', code: '101180708' }, { city: '新野', code: '101180709' }, { city: '唐河', code: '101180710' }, { city: '邓州', code: '101180711' }, { city: '桐柏', code: '101180712' }, { city: '开封', code: '101180801' }, { city: '杞县', code: '101180802' }, { city: '尉氏', code: '101180803' }, { city: '通许', code: '101180804' }, { city: '兰考', code: '101180805' }, { city: '洛阳', code: '101180901' }, { city: '新安', code: '101180902' }, { city: '孟津', code: '101180903' }, { city: '宜阳', code: '101180904' }, { city: '洛宁', code: '101180905' }, { city: '伊川', code: '101180906' }, { city: '嵩县', code: '101180907' }, { city: '偃师', code: '101180908' }, { city: '栾川', code: '101180909' }, { city: '汝阳', code: '101180910' }, { city: '商丘', code: '101181001' }, { city: '睢阳区', code: '101181002' }, { city: '睢县', code: '101181003' }, { city: '民权', code: '101181004' }, { city: '虞城', code: '101181005' }, { city: '柘城', code: '101181006' }, { city: '宁陵', code: '101181007' }, { city: '夏邑', code: '101181008' }, { city: '永城', code: '101181009' }, { city: '焦作', code: '101181101' }, { city: '修武', code: '101181102' }, { city: '武陟', code: '101181103' }, { city: '沁阳', code: '101181104' }, { city: '博爱', code: '101181106' }, { city: '温县', code: '101181107' }, { city: '孟州', code: '101181108' }, { city: '鹤壁', code: '101181201' }, { city: '浚县', code: '101181202' }, { city: '淇县', code: '101181203' }, { city: '濮阳', code: '101181301' }, { city: '台前', code: '101181302' }, { city: '南乐', code: '101181303' }, { city: '清丰', code: '101181304' }, { city: '范县', code: '101181305' }, { city: '周口', code: '101181401' }, { city: '扶沟', code: '101181402' }, { city: '太康', code: '101181403' }, { city: '淮阳', code: '101181404' }, { city: '西华', code: '101181405' }, { city: '商水', code: '101181406' }, { city: '项城', code: '101181407' }, { city: '郸城', code: '101181408' }, { city: '鹿邑', code: '101181409' }, { city: '沈丘', code: '101181410' }, { city: '黄泛区', code: '101181411' }, { city: '漯河', code: '101181501' }, { city: '临颍', code: '101181502' }, { city: '舞阳', code: '101181503' }, { city: '驻马店', code: '101181601' }, { city: '西平', code: '101181602' }, { city: '遂平', code: '101181603' }, { city: '上蔡', code: '101181604' }, { city: '汝南', code: '101181605' }, { city: '泌阳', code: '101181606' }, { city: '平舆', code: '101181607' }, { city: '新蔡', code: '101181608' }, { city: '确山', code: '101181609' }, { city: '正阳', code: '101181610' }, { city: '三门峡', code: '101181701' }, { city: '灵宝', code: '101181702' }, { city: '渑池', code: '101181703' }, { city: '卢氏', code: '101181704' }, { city: '济源', code: '101181801' }, { city: '南京', code: '101190101' }, { city: '溧水', code: '101190102' }, { city: '高淳', code: '101190103' }, { city: '江宁', code: '101190104' }, { city: '六合', code: '101190105' }, { city: '江浦', code: '101190106' }, { city: '浦口', code: '101190107' }, { city: '无锡', code: '101190201' }, { city: '江阴', code: '101190202' }, { city: '宜兴', code: '101190203' }, { city: '镇江', code: '101190301' }, { city: '丹阳', code: '101190302' }, { city: '扬中', code: '101190303' }, { city: '句容', code: '101190304' }, { city: '丹徒', code: '101190305' }, { city: '苏州', code: '101190401' }, { city: '常熟', code: '101190402' }, { city: '张家港', code: '101190403' }, { city: '昆山', code: '101190404' }, { city: '吴县东山', code: '101190405' }, { city: '吴县', code: '101190406' }, { city: '吴江', code: '101190407' }, { city: '太仓', code: '101190408' }, { city: '南通', code: '101190501' }, { city: '海安', code: '101190502' }, { city: '如皋', code: '101190503' }, { city: '如东', code: '101190504' }, { city: '吕泗', code: '101190505' }, { city: '吕泗渔场', code: '101190506' }, { city: '启东', code: '101190507' }, { city: '海门', code: '101190508' }, { city: '通州', code: '101190509' }, { city: '扬州', code: '101190601' }, { city: '宝应', code: '101190602' }, { city: '仪征', code: '101190603' }, { city: '高邮', code: '101190604' }, { city: '江都', code: '101190605' }, { city: '邗江', code: '101190606' }, { city: '盐城', code: '101190701' }, { city: '响水', code: '101190702' }, { city: '滨海', code: '101190703' }, { city: '阜宁', code: '101190704' }, { city: '射阳', code: '101190705' }, { city: '建湖', code: '101190706' }, { city: '东台', code: '101190707' }, { city: '大丰', code: '101190708' }, { city: '盐都', code: '101190709' }, { city: '徐州', code: '101190801' }, { city: '徐州农试站', code: '101190802' }, { city: '丰县', code: '101190803' }, { city: '沛县', code: '101190804' }, { city: '邳州', code: '101190805' }, { city: '睢宁', code: '101190806' }, { city: '新沂', code: '101190807' }, { city: '淮安', code: '101190901' }, { city: '金湖', code: '101190902' }, { city: '盱眙', code: '101190903' }, { city: '洪泽', code: '101190904' }, { city: '涟水', code: '101190905' }, { city: '淮阴县', code: '101190906' }, { city: '淮阴', code: '101190907' }, { city: '楚州', code: '101190908' }, { city: '连云港', code: '101191001' }, { city: '东海', code: '101191002' }, { city: '赣榆', code: '101191003' }, { city: '灌云', code: '101191004' }, { city: '灌南', code: '101191005' }, { city: '西连岛', code: '101191006' }, { city: '燕尾港', code: '101191007' }, { city: '常州', code: '101191101' }, { city: '溧阳', code: '101191102' }, { city: '金坛', code: '101191103' }, { city: '泰州', code: '101191201' }, { city: '兴化', code: '101191202' }, { city: '泰兴', code: '101191203' }, { city: '姜堰', code: '101191204' }, { city: '靖江', code: '101191205' }, { city: '宿迁', code: '101191301' }, { city: '沭阳', code: '101191302' }, { city: '泗阳', code: '101191303' }, { city: '泗洪', code: '101191304' }, { city: '武汉', code: '101200101' }, { city: '蔡甸', code: '101200102' }, { city: '黄陂', code: '101200103' }, { city: '新洲', code: '101200104' }, { city: '江夏', code: '101200105' }, { city: '襄樊', code: '101200201' }, { city: '襄阳', code: '101200202' }, { city: '保康', code: '101200203' }, { city: '南漳', code: '101200204' }, { city: '宜城', code: '101200205' }, { city: '老河口', code: '101200206' }, { city: '谷城', code: '101200207' }, { city: '枣阳', code: '101200208' }, { city: '鄂州', code: '101200301' }, { city: '孝感', code: '101200401' }, { city: '安陆', code: '101200402' }, { city: '云梦', code: '101200403' }, { city: '大悟', code: '101200404' }, { city: '应城', code: '101200405' }, { city: '汉川', code: '101200406' }, { city: '黄冈', code: '101200501' }, { city: '红安', code: '101200502' }, { city: '麻城', code: '101200503' }, { city: '罗田', code: '101200504' }, { city: '英山', code: '101200505' }, { city: '浠水', code: '101200506' }, { city: '蕲春', code: '101200507' }, { city: '黄梅', code: '101200508' }, { city: '武穴', code: '101200509' }, { city: '黄石', code: '101200601' }, { city: '大冶', code: '101200602' }, { city: '阳新', code: '101200603' }, { city: '咸宁', code: '101200701' }, { city: '赤壁', code: '101200702' }, { city: '嘉鱼', code: '101200703' }, { city: '崇阳', code: '101200704' }, { city: '通城', code: '101200705' }, { city: '通山', code: '101200706' }, { city: '荆州', code: '101200801' }, { city: '江陵', code: '101200802' }, { city: '*', code: '101200803' }, { city: '石首', code: '101200804' }, { city: '监利', code: '101200805' }, { city: '洪湖', code: '101200806' }, { city: '松滋', code: '101200807' }, { city: '宜昌', code: '101200901' }, { city: '远安', code: '101200902' }, { city: '秭归', code: '101200903' }, { city: '兴山', code: '101200904' }, { city: '宜昌县', code: '101200905' }, { city: '五峰', code: '101200906' }, { city: '当阳', code: '101200907' }, { city: '长阳', code: '101200908' }, { city: '宜都', code: '101200909' }, { city: '枝江', code: '101200910' }, { city: '三峡', code: '101200911' }, { city: '夷陵', code: '101200912' }, { city: '恩施', code: '101201001' }, { city: '利川', code: '101201002' }, { city: '建始', code: '101201003' }, { city: '咸丰', code: '101201004' }, { city: '宣恩', code: '101201005' }, { city: '鹤峰', code: '101201006' }, { city: '来凤', code: '101201007' }, { city: '巴东', code: '101201008' }, { city: '绿葱坡', code: '101201009' }, { city: '十堰', code: '101201101' }, { city: '竹溪', code: '101201102' }, { city: '郧西', code: '101201103' }, { city: '郧县', code: '101201104' }, { city: '竹山', code: '101201105' }, { city: '房县', code: '101201106' }, { city: '丹江口', code: '101201107' }, { city: '神农架', code: '101201201' }, { city: '随州', code: '101201301' }, { city: '广水', code: '101201302' }, { city: '荆门', code: '101201401' }, { city: '钟祥', code: '101201402' }, { city: '京山', code: '101201403' }, { city: '天门', code: '101201501' }, { city: '仙桃', code: '101201601' }, { city: '潜江', code: '101201701' }, { city: '杭州', code: '101210101' }, { city: '萧山', code: '101210102' }, { city: '桐庐', code: '101210103' }, { city: '淳安', code: '101210104' }, { city: '建德', code: '101210105' }, { city: '余杭', code: '101210106' }, { city: '临安', code: '101210107' }, { city: '富阳', code: '101210108' }, { city: '湖州', code: '101210201' }, { city: '长兴', code: '101210202' }, { city: '安吉', code: '101210203' }, { city: '德清', code: '101210204' }, { city: '嘉兴', code: '101210301' }, { city: '嘉善', code: '101210302' }, { city: '海宁', code: '101210303' }, { city: '桐乡', code: '101210304' }, { city: '平湖', code: '101210305' }, { city: '海盐', code: '101210306' }, { city: '宁波', code: '101210401' }, { city: '慈溪', code: '101210403' }, { city: '余姚', code: '101210404' }, { city: '奉化', code: '101210405' }, { city: '象山', code: '101210406' }, { city: '石浦', code: '101210407' }, { city: '宁海', code: '101210408' }, { city: '鄞县', code: '101210409' }, { city: '北仑', code: '101210410' }, { city: '鄞州'

                    
                
(0)
打赏 【开发记录】如何在B/S项目中使用中国天气的实时天气功能 微信扫一扫

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

【开发记录】如何在B/S项目中使用中国天气的实时天气功能
验证码: 【开发记录】如何在B/S项目中使用中国天气的实时天气功能