php实现12306火车票余票查询和价格查询(12306火车票查询)
name.php
<?php
return array(
"北京北" => "vap",
"北京东" => "bop",
"北京" => "bjp",
"北京南" => "vnp",
"北京西" => "bxp",
"重庆北" => "cuw",
"重庆" => "cqw",
"重庆南" => "crw",
"长春" => "cct",
"长春南" => "cet",
"长春西" => "crt",
"成都东" => "icw",
"成都南" => "cnw",
"成都" => "cdw",
"长沙" => "csq",
"长沙南" => "cwq",
"阿尔山" => "art",
"安康" => "aky",
"阿克苏" => "asr",
"阿里河" => "ahx",
"阿拉山口" => "akr",
"安平" => "apt",
"安庆" => "aqh",
"安顺" => "asw",
"鞍山" => "ast",
"安阳" => "ayf",
"北安" => "bab",
"蚌埠" => "bbh",
"白城" => "bct",
"北海" => "bhz",
"白河" => "bel",
"白涧" => "bap",
"宝鸡" => "bjy",
"滨江" => "bjb",
"博克图" => "bkx",
"百色" => "biz",
"白山市" => "hjl",
"北台" => "btt",
"包头东" => "bdc",
"包头" => "btc",
"北屯市" => "bxr",
"本溪" => "bxt",
"白云鄂博" => "bec",
"白银西" => "bxj",
"亳州" => "bzh",
"赤壁" => "cbn",
"常德" => "vgq",
"承德" => "cdp",
"长甸" => "cdt",
"赤峰" => "cfd",
"茶陵" => "cdg",
"苍南" => "ceh",
"昌平" => "cpp",
"崇仁" => "crg",
"昌图" => "ctt",
"长汀镇" => "cdb",
"崇信" => "cij",
"曹县" => "cxk",
"楚雄" => "com",
"陈相屯" => "cxt",
"长治北" => "cbf",
"长征" => "czj",
"池州" => "iyh",
"常州" => "czh",
"郴州" => "czq",
"长治" => "czf",
"沧州" => "cop",
"崇左" => "czz",
"大安北" => "rnt",
"大成" => "dct",
"丹东" => "dut",
"东方红" => "dfb",
"东莞东" => "dmq",
"大虎山" => "dhd",
"敦煌" => "dhj",
"敦化" => "dhl",
"德惠" => "dht",
"东京城" => "djb",
"大涧" => "dfp",
"都江堰" => "ddw",
"大连北" => "dft",
"大理" => "dkm",
"大连" => "dlt",
"定南" => "dng",
"大庆" => "dzx",
"东胜" => "doc",
"大石桥" => "dqt",
"大同" => "dtv",
"东营" => "dpk",
"大杨树" => "dux",
"都匀" => "ryw",
"邓州" => "dof",
"达州" => "rxw",
"德州" => "dzp",
"额济纳" => "ejc",
"二连" => "rlc",
"恩施" => "esn",
"昂昂溪" => "aax",
"阿城" => "acb",
"安达" => "adx",
"安定" => "adp",
"安广" => "agt",
"艾河" => "ahp",
"安化" => "pkq",
"艾家村" => "ajj",
"鳌江" => "arh",
"安家" => "ajb",
"阿金" => "ajd",
"阿克陶" => "aer",
"安口窑" => "ayy",
"敖力布告" => "ald",
"安龙" => "auz",
"阿龙山" => "asx",
"安陆" => "aln",
"阿木尔" => "jtx",
"阿南庄" => "azm",
"安庆西" => "aph",
"鞍山西" => "axt",
"安塘" => "atv",
"安亭北" => "ash",
"阿图什" => "atr",
"安图" => "atl",
"安溪" => "axs",
"博鳌" => "bwq",
"白壁关" => "bgv",
"蚌埠南" => "bmh",
"巴楚" => "bcr",
"板城" => "bup",
"北戴河" => "bep",
"保定" => "bdp",
"宝坻" => "bpp",
"八达岭" => "ilp",
"巴东" => "bnn",
"柏果" => "bgm",
"布海" => "but",
"白河东" => "biy",
"贲红" => "bvc",
"宝华山" => "bwh",
"白河县" => "bey",
"白芨沟" => "bjj",
"碧鸡关" => "bjm",
"北滘" => "ibq",
"碧江" => "blq",
"白鸡坡" => "bbm",
"笔架山" => "bsb",
"八角台" => "btd",
"保康" => "bkd",
"白奎堡" => "bkb",
"白狼" => "bat",
"百浪" => "brz",
"博乐" => "bor",
"宝拉格" => "bqc",
"巴林" => "blx",
"宝林" => "bnb",
"北流" => "boz",
"勃利" => "blb",
"布列开" => "blr",
"宝龙山" => "bnd",
"八面城" => "bmd",
"班猫箐" => "bnm",
"八面通" => "bmb",
"北马圈子" => "brp",
"北票南" => "rpd",
"白旗" => "bqp",
"宝泉岭" => "bqb",
"白泉" => "bql",
"白沙" => "bsw",
"巴山" => "bay",
"白水江" => "bsy",
"白沙坡" => "bpm",
"白石山" => "bal",
"白水镇" => "bum",
"坂田" => "btq",
"泊头" => "bzp",
"北屯" => "byp",
"本溪湖" => "bht",
"博兴" => "bxk",
"八仙筒" => "vxd",
"白音察干" => "byc",
"背荫河" => "byb",
"北营" => "biv",
"巴彦高勒" => "bac",
"白音他拉" => "bid",
"鲅鱼圈" => "byt",
"白银市" => "bnj",
"白音胡硕" => "bcd",
"巴中" => "iew",
"霸州" => "rmp",
"北宅" => "bvp",
"赤壁北" => "cin",
"查布嘎" => "cbc",
"长城" => "cej",
"长冲" => "ccm",
"承德东" => "ccp",
"赤峰西" => "cid",
"嵯岗" => "cax",
"柴岗" => "cgt",
"长葛" => "cef",
"柴沟堡" => "cgv",
"城固" => "cgy",
"陈官营" => "caj",
"成高子" => "czb",
"草海" => "wbw",
"柴河" => "chb",
"册亨" => "chz",
"草河口" => "ckt",
"崔黄口" => "chp",
"巢湖" => "cih",
"蔡家沟" => "cjt",
"成吉思汗" => "cjx",
"岔江" => "cam",
"蔡家坡" => "cjy",
"沧口" => "ckk",
"昌乐" => "clk",
"超梁沟" => "cyp",
"慈利" => "cuq",
"昌黎" => "clp",
"长岭子" => "clt",
"晨明" => "cmb",
"长农" => "cnj",
"昌平北" => "vbp",
"长坡岭" => "cpm",
"辰清" => "cqb",
"楚山" => "csb",
"长寿" => "efw",
"磁山" => "csp",
"苍石" => "cst",
"草市" => "csl",
"察素齐" => "csc",
"长山屯" => "cvt",
"长汀" => "ces",
"昌图西" => "cpt",
"春湾" => "cqq",
"磁县" => "cip",
"岑溪" => "cnz",
"辰溪" => "cxq",
"磁西" => "crp",
"长兴南" => "cfh",
"磁窑" => "cyk",
"朝阳" => "cyd",
"春阳" => "cal",
"城阳" => "cek",
"创业村" => "cex",
"朝阳川" => "cyl",
"朝阳地" => "cdd",
"长垣" => "cyf",
"朝阳镇" => "czl",
"滁州北" => "cuh",
"常州北" => "esh",
"滁州" => "cxh",
"潮州" => "ckq",
"常庄" => "cvk",
"曹子里" => "cfp",
"车转湾" => "cwm",
"郴州西" => "icq",
"沧州西" => "cbp",
"德安" => "dag",
"大安" => "rat",
"东安" => "daz",
"大坝" => "dbj",
"大板" => "dbc",
"大巴" => "dbd",
"到保" => "rbt",
"定边" => "dyj",
"东边井" => "dbb",
"德伯斯" => "rdt",
"打柴沟" => "dgj",
"德昌" => "dvw",
"滴道" => "ddb",
"大德" => "dem",
"大磴沟" => "dkj",
"刀尔登" => "drd",
"得耳布尔" => "drx",
"东方" => "ufq",
"丹凤" => "dgy",
"东丰" => "dil",
"都格" => "dmm",
"大官屯" => "dtt",
"大关" => "rgw",
"东光" => "dgp",
"东莞" => "daq",
"东海" => "dhb",
"大灰厂" => "dhp",
"大红旗" => "dqd",
"东海县" => "dqh",
"德惠西" => "dxt",
"达家沟" => "djt",
"东津" => "dkb",
"杜家" => "djl",
"大旧庄" => "djm",
"大口屯" => "dkp",
"东来" => "rvd",
"德令哈" => "dho",
"大陆号" => "dlc",
"带岭" => "dlb",
"大林" => "dld",
"达拉特旗" => "dic",
"独立屯" => "dtx",
"豆罗" => "dlv",
"达拉特西" => "dnc",
"东明村" => "dmd",
"洞庙河" => "dep",
"东明县" => "dnf",
"大拟" => "dnz",
"大平房" => "dpd",
"大盘石" => "rpp",
"大埔" => "dpi",
"大堡" => "dvt",
"大其拉哈" => "dqx",
"道清" => "dml",
"对青山" => "dqb",
"德清西" => "moh",
"东升" => "drq",
"独山" => "rww",
"砀山" => "dkh",
"登沙河" => "dwt",
"读书铺" => "dpm",
"大石头" => "dsl",
"大石寨" => "rzt",
"东台" => "dbh",
"定陶" => "dqk",
"灯塔" => "dgt",
"大田边" => "dbm",
"东通化" => "dtl",
"丹徒" => "ruh",
"大屯" => "dnt",
"东湾" => "drj",
"大武口" => "dfj",
"低窝铺" => "dwj",
"大王滩" => "dzz",
"大湾子" => "dfm",
"大兴沟" => "dxl",
"大兴" => "dxx",
"定西" => "dsj",
"甸心" => "dxm",
"东乡" => "dxg",
"代县" => "dkv",
"定襄" => "dxv",
"东戌" => "rxp",
"东辛庄" => "dxd",
"丹阳" => "dyh",
"大雁" => "dyx",
"德阳" => "dyw",
"当阳" => "dyn",
"丹阳北" => "exh",
"大英东" => "iaw",
"东淤地" => "dbv",
"大营" => "dyv",
"定远" => "ewh",
"岱岳" => "ryv",
"大元" => "dyz",
"大营镇" => "djp",
"大营子" => "dzd",
"大战场" => "dtj",
"德州东" => "dip",
"低庄" => "dvq",
"东镇" => "dnv",
"道州" => "dfz",
"东至" => "dch",
"东庄" => "dzv",
"兑镇" => "dwv",
"豆庄" => "rop",
"定州" => "dxp",
"大竹园" => "dzy",
"大杖子" => "dap",
"豆张庄" => "rzp",
"峨边" => "ebw",
"二道沟门" => "rdp",
"二道湾" => "rdx",
"二龙" => "rld",
"二龙山屯" => "ela",
"峨眉" => "emw",
"二密河" => "rml",
"二营" => "ryj",
"鄂州" => "ecn",
"安阳东" => "adf",
"保定东" => "bmp",
"长阳" => "cyn",
"东二道河" => "drb",
"大苴" => "dim",
"大青沟" => "dsd",
"定州东" => "dop",
"福州" => "fzs",
"福州南" => "fys",
"贵阳" => "giw",
"广州北" => "gbq",
"广州东" => "ggq",
"广州" => "gzq",
"广州南" => "izq",
"哈尔滨" => "hbb",
"哈尔滨东" => "vbb",
"哈尔滨西" => "vab",
"合肥" => "hfh",
"合肥西" => "hth",
"呼和浩特东" => "ndc",
"呼和浩特" => "hhc",
"海口东" => "hmq",
"海口" => "vuq",
"杭州" => "hzh",
"杭州南" => "xhh",
"济南" => "jnk",
"济南东" => "jak",
"济南西" => "jgk",
"防城港" => "fez",
"福鼎" => "fes",
"风陵渡" => "flv",
"涪陵" => "flw",
"富拉尔基" => "frx",
"抚顺北" => "fet",
"佛山" => "fsq",
"阜新" => "fxd",
"阜阳" => "fyh",
"格尔木" => "gro",
"广汉" => "ghw",
"古交" => "gjv",
"桂林北" => "gbz",
"古莲" => "grx",
"桂林" => "glz",
"固始" => "gxn",
"广水" => "gsn",
"干塘" => "gnj",
"广元" => "gyw",
"赣州" => "gzg",
"公主岭" => "glt",
"公主岭南" => "gbt",
"淮安" => "auh",
"鹤北" => "hmb",
"淮北" => "hrh",
"淮滨" => "hvn",
"河边" => "hbv",
"潢川" => "kcn",
"韩城" => "hcy",
"邯郸" => "hdp",
"横道河子" => "hdb",
"鹤岗" => "hgb",
"皇姑屯" => "htt",
"红果" => "hem",
"黑河" => "hjb",
"怀化" => "hhq",
"汉口" => "hkn",
"葫芦岛" => "hld",
"海拉尔" => "hrx",
"霍林郭勒" => "hwd",
"海伦" => "hlb",
"侯马" => "hmv",
"哈密" => "hmr",
"淮南" => "hah",
"桦南" => "hnb",
"海宁西" => "euh",
"鹤庆" => "hqm",
"怀柔北" => "hbp",
"怀柔" => "hrp",
"黄石东" => "osn",
"华山" => "hsy",
"黄石" => "hsn",
"黄山" => "hkh",
"衡水" => "hsp",
"衡阳" => "hyq",
"菏泽" => "hik",
"贺州" => "hxz",
"汉中" => "hoy",
"惠州" => "hcq",
"吉安" => "vag",
"集安" => "jal",
"江边村" => "jbg",
"晋城" => "jcf",
"金城江" => "jjz",
"景德镇" => "jcg",
"嘉峰" => "jff",
"加格达奇" => "jgx",
"井冈山" => "jgg",
"蛟河" => "jhl",
"金华南" => "rnh",
"金华西" => "jbh",
"九江" => "jjg",
"吉林" => "jll",
"荆门" => "jmn",
"佳木斯" => "jmb",
"济宁" => "jik",
"集宁南" => "jac",
"酒泉" => "jqj",
"*" => "juh",
"吉首" => "jiq",
"九台" => "jtl",
"镜铁山" => "jvj",
"鸡西" => "jxb",
"蓟县" => "jkp",
"绩溪县" => "jrh",
"嘉峪关" => "jgj",
"江油" => "jfw",
"锦州" => "jzd",
"金州" => "jzt",
"福安" => "fas",
"防城" => "faz",
"丰城" => "fcg",
"丰城南" => "fng",
"肥东" => "fih",
"发耳" => "fem",
"富海" => "fhx",
"福海" => "fhr",
"凤凰城" => "fht",
"奉化" => "fhh",
"富锦" => "fib",
"范家屯" => "ftt",
"福利屯" => "ftb",
"丰乐镇" => "fzb",
"阜南" => "fnh",
"阜宁" => "akh",
"抚宁" => "fnp",
"福清" => "fqs",
"福泉" => "vmw",
"丰水村" => "fsj",
"丰顺" => "fuq",
"繁峙" => "fsv",
"抚顺" => "fst",
"福山口" => "fkp",
"扶绥" => "fsz",
"冯屯" => "ftx",
"浮图峪" => "fyp",
"富县东" => "fdy",
"凤县" => "fxy",
"富县" => "fey",
"费县" => "fxk",
"凤阳" => "fuh",
"汾阳" => "fav",
"扶余北" => "fbt",
"分宜" => "fyg",
"富源" => "fym",
"扶余" => "fyt",
"富裕" => "fyx",
"抚州北" => "fbg",
"凤州" => "fzy",
"丰镇" => "fzc",
"范镇" => "vzk",
"固安" => "gfp",
"广安" => "vjw",
"高碑店" => "gbp",
"沟帮子" => "gbd",
"甘草店" => "gdj",
"谷城" => "gcn",
"藁城" => "gep",
"高村" => "gcv",
"古城镇" => "gzb",
"广德" => "grh",
"贵定" => "gtw",
"贵定南" => "idw",
"古东" => "gdv",
"贵港" => "ggz",
"官高" => "gvp",
"葛根庙" => "ggt",
"干沟" => "ggl",
"甘谷" => "ggj",
"高各庄" => "ggp",
"甘河" => "gax",
"根河" => "gex",
"郭家店" => "gdt",
"孤家子" => "gkt",
"高老" => "gob",
"古浪" => "glj",
"皋兰" => "gej",
"高楼房" => "gfm",
"归流河" => "ght",
"关林" => "glf",
"甘洛" => "vow",
"郭磊庄" => "glp",
"高密" => "gmk",
"公庙子" => "gmc",
"工农湖" => "grt",
"广宁寺" => "gnt",
"广南卫" => "gnm",
"高平" => "gpf",
"甘泉北" => "gey",
"共青城" => "gag",
"甘旗卡" => "gqd",
"甘泉" => "gqy",
"高桥镇" => "gzd",
"赶水" => "gsw",
"灌水" => "gst",
"孤山口" => "gsp",
"果松" => "gsl",
"高山子" => "gsd",
"嘎什甸子" => "gxd",
"高台" => "gtj",
"高滩" => "gay",
"古田" => "gts",
"官厅" => "gtp",
"广通" => "gom",
"官厅西" => "kep",
"贵溪" => "gxg",
"涡阳" => "gyh",
"巩义" => "gxf",
"高邑" => "gip",
"巩义南" => "gyf",
"固原" => "guj",
"菇园" => "gyl",
"公营子" => "gyd",
"光泽" => "gzs",
"古镇" => "gnq",
"瓜州" => "gzj",
"高州" => "gsq",
"固镇" => "geh",
"盖州" => "gxt",
"官字井" => "got",
"革镇堡" => "gzt",
"冠豸山" => "gss",
"盖州西" => "gat",
"红安" => "hwn",
"淮安南" => "amh",
"红安西" => "vxn",
"海安县" => "hih",
"黄柏" => "hbl",
"海北" => "heb",
"鹤壁" => "haf",
"华城" => "vcq",
"合川" => "wkw",
"河唇" => "hcz",
"汉川" => "hcn",
"海城" => "hct",
"黑冲滩" => "hcj",
"黄村" => "hcp",
"海城西" => "hxt",
"化德" => "hgc",
"洪洞" => "hdv",
"横峰" => "hfg",
"韩府湾" => "hxj",
"汉沽" => "hgp",
"黄瓜园" => "hym",
"红光镇" => "igw",
"浑河" => "hht",
"红花沟" => "vhd",
"黄花筒" => "hud",
"贺家店" => "hjj",
"和静" => "hjr",
"红江" => "hfm",
"黑井" => "him",
"获嘉" => "hjf",
"河津" => "hjv",
"涵江" => "hjs",
"华家" => "hjt",
"河间西" => "hxp",
"花家庄" => "hjm",
"河口南" => "hkj",
"黄口" => "koh",
"湖口" => "hkg",
"呼兰" => "hub",
"葫芦岛北" => "hpd",
"浩良河" => "hhb",
"哈拉海" => "hit",
"鹤立" => "hob",
"桦林" => "hib",
"黄陵" => "uly",
"海林" => "hrb",
"虎林" => "vlb",
"寒岭" => "hat",
"和龙" => "hll",
"海龙" => "hil",
"哈拉苏" => "hax",
"呼鲁斯太" => "vtj",
"火连寨" => "hlt",
"黄梅" => "veh",
"蛤蟆塘" => "hmt",
"韩麻营" => "hyp",
"黄泥河" => "hhl",
"海宁" => "hnh",
"惠农" => "hmj",
"和平" => "vaq",
"花棚子" => "hzm",
"花桥" => "vqh",
"宏庆" => "hey",
"怀仁" => "hrv",
"华容" => "hrn",
"华山北" => "hdy",
"黄松甸" => "hdl",
"和什托洛盖" => "vsr",
"红山" => "vsb",
"汉寿" => "vsq",
"衡山" => "hsq",
"黑水" => "hot",
"惠山" => "vch",
"虎什哈" => "hhp",
"红寺堡" => "hsj",
"虎石台" => "hut",
"海石湾" => "hso",
"衡山西" => "heq",
"红砂岘" => "vsj",
"黑台" => "hqb",
"桓台" => "vtk",
"和田" => "vtr",
"会同" => "vtq",
"海坨子" => "hzt",
"黑旺" => "hwk",
"海湾" => "rwh",
"红星" => "vxb",
"徽县" => "hyy",
"红兴隆" => "vhb",
"换新天" => "vtb",
"红岘台" => "htj",
"红彦" => "vix",
"合阳" => "hay",
"海阳" => "hyk",
"衡阳东" => "hvq",
"华蓥" => "huw",
"汉阴" => "hqy",
"黄羊滩" => "hgj",
"汉源" => "whw",
"湟源" => "hno",
"河源" => "viq",
"花园" => "hun",
"黄羊镇" => "hyj",
"化州" => "hzz",
"黄州" => "von",
"霍州" => "hzv",
"惠州西" => "vxq",
"巨宝" => "jrt",
"靖边" => "jiy",
"金宝屯" => "jbd",
"晋城北" => "jef",
"金昌" => "jcj",
"鄄城" => "jck",
"交城" => "jnv",
"建昌" => "jfd",
"峻德" => "jdb",
"井店" => "jfp",
"鸡东" => "job",
"江都" => "udh",
"鸡冠山" => "jst",
"金沟屯" => "vgp",
"静海" => "jhp",
"金河" => "jhx",
"锦河" => "jhb",
"锦和" => "jhq",
"精河" => "jhr",
"精河南" => "jir",
"江华" => "jhz",
"建湖" => "ajh",
"纪家沟" => "vjd",
"晋江" => "jjs",
"江津" => "jjw",
"姜家" => "jjb",
"金坑" => "jkt",
"芨岭" => "jlj",
"金马村" => "jmm",
"角美" => "jes",
"江门" => "jwq",
"莒南" => "jok",
"井南" => "jnp",
"建瓯" => "jvs",
"经棚" => "jpc",
"江桥" => "jqx",
"九三" => "ssx",
"金山北" => "egh",
"京山" => "jcn",
"建始" => "jrn",
"嘉善" => "jsh",
"稷山" => "jvv",
"吉舒" => "jsl",
"建设" => "jet",
"甲山" => "jop",
"建三江" => "jib",
"嘉善南" => "eah",
"金山屯" => "jtb",
"江所田" => "jom",
"景泰" => "jtj",
"吉文" => "jwx",
"进贤" => "jug",
"莒县" => "jkk",
"嘉祥" => "juk",
"介休" => "jxv",
"井陉" => "jjp",
"嘉兴" => "jxh",
"嘉兴南" => "eph",
"夹心子" => "jxt",
"简阳" => "jyw",
"揭阳" => "jrq",
"建阳" => "jys",
"姜堰" => "ueh",
"巨野" => "jyk",
"江永" => "jyz",
"靖远" => "jyj",
"缙云" => "jyh",
"江源" => "szl",
"济源" => "jyf",
"靖远西" => "jxj",
"胶州北" => "jzk",
"焦作东" => "wef",
"靖州" => "jeq",
"荆州" => "jbn",
"金寨" => "jzh",
"晋州" => "jxp",
"胶州" => "jxk",
"锦州南" => "jod",
"焦作" => "jof",
"旧庄窝" => "jvp",
"金杖子" => "jyd",
"富川" => "fdz",
"抚远" => "fyb",
"高碑店东" => "gmp",
"革居" => "gem",
"光明城" => "imq",
"高邑西" => "gnp",
"鹤壁东" => "hff",
"寒葱沟" => "hkb",
"邯郸东" => "hpp",
"合肥北城" => "coh",
"洪河" => "hpb",
"虎门" => "iuq",
"哈密南" => "hlr",
"淮南东" => "hoh",
"建水" => "jsm",
"昆明" => "kmm",
"昆明西" => "kxm",
"拉萨" => "lso",
"兰州东" => "lvj",
"兰州" => "lzj",
"兰州西" => "laj",
"南昌" => "ncg",
"南京" => "njh",
"南京南" => "nkh",
"南宁" => "nnz",
"库尔勒" => "klr",
"开封" => "kff",
"岢岚" => "klv",
"凯里" => "klw",
"喀什" => "ksr",
"昆山南" => "knh",
"奎屯" => "ktr",
"开原" => "kyt",
"六安" => "uah",
"灵宝" => "lbf",
"芦潮港" => "uch",
"隆昌" => "lcw",
"陆川" => "lkz",
"利川" => "lcn",
"临川" => "lcg",
"潞城" => "utp",
"鹿道" => "ldl",
"娄底" => "ldq",
"临汾" => "lfv",
"良各庄" => "lgp",
"临河" => "lhc",
"漯河" => "lon",
"绿化" => "lwj",
"隆化" => "uhp",
"丽江" => "lhm",
"临江" => "lql",
"龙井" => "ljl",
"吕梁" => "lhv",
"醴陵" => "llg",
"柳林南" => "lkv",
"滦平" => "upp",
"六盘水" => "umw",
"灵丘" => "lvv",
"旅顺" => "lst",
"陇西" => "lxj",
"澧县" => "leq",
"兰溪" => "lwh",
"临西" => "uep",
"耒阳" => "lyq",
"洛阳" => "lyf",
"龙岩" => "lys",
"洛阳东" => "ldf",
"连云港东" => "ukh",
"临沂" => "lvk",
"洛阳龙门" => "llf",
"柳园" => "dhr",
"凌源" => "lyd",
"辽源" => "lyl",
"立志" => "lzx",
"柳州" => "lzz",
"辽中" => "lzd",
"麻城" => "mcn",
"免渡河" => "mdx",
"牡丹江" => "mdb",
"莫尔道嘎" => "mrx",
"满归" => "mhx",
"明光" => "mgh",
"漠河" => "mvx",
"梅江" => "mkq",
"茂名东" => "mdq",
"茂名" => "mmz",
"密山" => "msb",
"马三家" => "mjt",
"麻尾" => "vaw",
"绵阳" => "myw",
"梅州" => "moq",
"满洲里" => "mlx",
"宁波东" => "nvh",
"南岔" => "ncb",
"南充" => "ncw",
"南丹" => "ndz",
"南大庙" => "nmp",
"南芬" => "nft",
"讷河" => "nhx",
"嫩江" => "ngx",
"内江" => "njw",
"南平" => "nps",
"南通" => "nuh",
"南阳" => "nff",
"碾子山" => "nzx",
"开安" => "kat",
"库车" => "kcr",
"康城" => "kcp",
"库都尔" => "kdx",
"宽甸" => "kdt",
"克东" => "kob",
"开江" => "kaw",
"康金井" => "kjb",
"喀喇其" => "kqx",
"开鲁" => "klc",
"克拉玛依" => "khr",
"口前" => "kql",
"奎山" => "kab",
"昆山" => "ksh",
"克山" => "ksb",
"开通" => "ktt",
"康熙岭" => "kxz",
"克一河" => "khx",
"开原西" => "kxt",
"康庄" => "kzp",
"来宾" => "ubz",
"老边" => "llt",
"灵宝西" => "lpf",
"龙川" => "luq",
"乐昌" => "lcq",
"黎城" => "ucp",
"聊城" => "uck",
"蓝村" => "lck",
"林东" => "lrc",
"乐都" => "ldo",
"梁底下" => "ldp",
"六道河子" => "lvp",
"鲁番" => "lvm",
"廊坊" => "ljp",
"落垡" => "lop",
"廊坊北" => "lfp",
"禄丰" => "lfm",
"老府" => "ufd",
"兰岗" => "lnb",
"龙骨甸" => "lgm",
"芦沟" => "lom",
"龙沟" => "lgj",
"拉古" => "lgb",
"临海" => "ufh",
"林海" => "lxx",
"拉哈" => "lhx",
"凌海" => "jid",
"柳河" => "lnl",
"六合" => "klh",
"龙华" => "lhp",
"滦河沿" => "unp",
"六合镇" => "lex",
"亮甲店" => "lrt",
"刘家店" => "udt",
"刘家河" => "lvt",
"连江" => "lks",
"李家" => "ljb",
"罗江" => "ljw",
"廉江" => "ljz",
"庐江" => "ujh",
"两家" => "ujt",
"龙江" => "ljx",
"龙嘉" => "ujl",
"莲江口" => "lhb",
"蔺家楼" => "ulk",
"李家坪" => "lij",
"兰考" => "lkf",
"林口" => "lkb",
"路口铺" => "lkq",
"老莱" => "lax",
"拉林" => "lab",
"陆良" => "lrm",
"龙里" => "llw",
"零陵" => "uwz",
"临澧" => "lwq",
"兰棱" => "llb",
"卢龙" => "uap",
"喇嘛甸" => "lmx",
"里木店" => "lmb",
"洛门" => "lmj",
"龙南" => "ung",
"梁平" => "uqw",
"罗平" => "lpm",
"落坡岭" => "lpp",
"六盘山" => "upj",
"乐平市" => "lpg",
"临清" => "uqk",
"龙泉寺" => "uqj",
"乐善村" => "lum",
"冷水江东" => "udq",
"连山关" => "lgt",
"流水沟" => "usp",
"陵水" => "liq",
"乐山" => "utw",
"罗山" => "lrn",
"鲁山" => "laf",
"丽水" => "ush",
"梁山" => "lmk",
"灵石" => "lsv",
"露水河" => "lul",
"庐山" => "lsg",
"林盛堡" => "lbt",
"柳树屯" => "lsd",
"梨树镇" => "lsb",
"龙山镇" => "las",
"李石寨" => "let",
"黎塘" => "ltz",
"轮台" => "lar",
"芦台" => "ltp",
"龙塘坝" => "lbm",
"濑湍" => "lvz",
"骆驼巷" => "ltj",
"李旺" => "vlj",
"莱芜东" => "lwk",
"狼尾山" => "lrj",
"灵武" => "lnj",
"莱芜西" => "uxk",
"朗乡" => "lxb",
"陇县" => "lxy",
"临湘" => "lxq",
"莱西" => "lxk",
"林西" => "lxc",
"滦县" => "uxp",
"略阳" => "lyy",
"莱阳" => "lyk",
"辽阳" => "lyt",
"临沂北" => "uyk",
"凌源东" => "ldd",
"连云港" => "uih",
"老羊壕" => "lyc",
"临颍" => "lnf",
"老营" => "lxl",
"龙游" => "lmh",
"罗源" => "lvs",
"林源" => "lyx",
"涟源" => "laq",
"涞源" => "lyp",
"耒阳西" => "lpq",
"临泽" => "lej",
"龙爪沟" => "lzt",
"雷州" => "uaq",
"六枝" => "liw",
"鹿寨" => "liz",
"来舟" => "lzs",
"龙镇" => "lza",
"拉鲊" => "lem",
"明安" => "mac",
"马鞍山" => "mah",
"毛坝" => "mby",
"毛坝关" => "mgy",
"麻城北" => "mbn",
"渑池" => "mcf",
"明城" => "mcl",
"庙城" => "map",
"渑池南" => "mnf",
"茅草坪" => "kpm",
"猛洞河" => "muq",
"磨刀石" => "mob",
"弥渡" => "mdf",
"帽儿山" => "mrb",
"明港" => "mgn",
"梅河口" => "mhl",
"马皇" => "mhz",
"孟家岗" => "mgb",
"美兰" => "mhq",
"汨罗东" => "mqq",
"马莲河" => "mhb",
"茅岭" => "mlz",
"庙岭" => "mll",
"茂林" => "mld",
"穆棱" => "mlb",
"马林" => "mid",
"马龙" => "mgm",
"汨罗" => "mlq",
"木里图" => "mud",
"密马龙" => "mmm",
"玛纳斯湖" => "mnr",
"冕宁" => "ugw",
"沐滂" => "mpq",
"马桥河" => "mqb",
"闽清" => "mqs",
"民权" => "mqf",
"明水河" => "mut",
"麻山" => "mab",
"眉山" => "msw",
"漫水湾" => "mkw",
"茂舍祖" => "mom",
"米沙子" => "mst",
"庙台子" => "mzb",
"美溪" => "meb",
"勉县" => "mvy",
"麻阳" => "mvq",
"牧羊村" => "mcm",
"米易" => "mmw",
"麦园" => "mys",
"墨玉" => "mur",
"密云" => "mup",
"庙庄" => "mzj",
"米脂" => "mey",
"明珠" => "mfq",
"宁安" => "nab",
"农安" => "nat",
"南博山" => "nbk",
"南仇" => "nck",
"南城司" => "nsp",
"宁村" => "ncz",
"宁德" => "nes",
"南观村" => "ngp",
"南宫东" => "nfp",
"南关岭" => "nlt",
"宁国" => "nnh",
"宁海" => "nhh",
"南河川" => "nhj",
"南华" => "nhs",
"泥河子" => "nhd",
"宁家" => "nvt",
"牛家" => "njb",
"南靖" => "njs",
"能家" => "njd",
"南口" => "nkp",
"南口前" => "nkt",
"南朗" => "nnq",
"乃林" => "nld",
"尼勒克" => "nir",
"那罗" => "ulz",
"宁陵县" => "nlf",
"奈曼" => "nmd",
"宁明" => "nmz",
"南木" => "nmx",
"南平南" => "nns",
"那铺" => "npz",
"南桥" => "nqd",
"那曲" => "nqo",
"暖泉" => "nqj",
"南台" => "ntt",
"南头" => "noq",
"宁武" => "nwv",
"南湾子" => "nwp",
"南翔北" => "neh",
"宁乡" => "nxq",
"内乡" => "nxf",
"牛心台" => "nxt",
"南峪" => "nup",
"娘子关" => "nip",
"南召" => "naf",
"南杂木" => "nzt",
"库伦" => "kld",
"漯河西" => "lbn",
"明港东" => "mdn",
"蒙自北" => "mbm",
"上海" => "shh",
"上海南" => "snh",
"上海虹桥" => "aoh",
"上海西" => "sxh",
"天津北" => "tbp",
"天津" => "tjp",
"天津南" => "tip",
"天津西" => "txp",
"石家庄北" => "vvp",
"石家庄" => "sjp",
"沈阳" => "syt",
"沈阳北" => "sbt",
"沈阳东" => "sdt",
"太原北" => "tbv",
"太原东" => "tdv",
"太原" => "tyv",
"平顶山" => "pen",
"盘锦" => "pvd",
"平凉" => "pij",
"平凉南" => "poj",
"平泉" => "pqp",
"坪石" => "psq",
"萍乡" => "pxg",
"凭祥" => "pxz",
"郫县西" => "pcw",
"攀枝花" => "prw",
"蕲春" => "qrn",
"青城山" => "qsw",
"青岛" => "qdk",
"清河城" => "qyp",
"黔江" => "qnw",
"曲靖" => "qjm",
"前进镇" => "qeb",
"齐齐哈尔" => "qhx",
"七台河" => "qtb",
"沁县" => "qvv",
"泉州东" => "qrs",
"泉州" => "qys",
"衢州" => "qeh",
"融安" => "raz",
"汝箕沟" => "rqj",
"瑞金" => "rjg",
"日照" => "rzk",
"双城堡" => "scb",
"绥芬河" => "sfb",
"韶关东" => "sgq",
"山海关" => "shd",
"绥化" => "shb",
"三间房" => "sfx",
"苏家屯" => "sxt",
"舒兰" => "sll",
"三明" => "sms",
"神木" => "omy",
"三门峡" => "smf",
"商南" => "ony",
"遂宁" => "niw",
"四平" => "spt",
"商丘" => "sqf",
"上饶" => "srg",
"韶山" => "ssq",
"宿松" => "oah",
"汕头" => "otq",
"邵武" => "sws",
"涉县" => "oep",
"三亚" => "seq",
"邵阳" => "syq",
"十堰" => "snn",
"双鸭山" => "ssb",
"*" => "vyt",
"深圳" => "szq",
"苏州" => "szh",
"随州" => "szn",
"宿州" => "oxh",
"朔州" => "suv",
"深圳西" => "osq",
"塘豹" => "tbq",
"塔尔气" => "tvx",
"潼关" => "tgy",
"塘沽" => "tgp",
"塔河" => "txx",
"通化" => "thl",
"泰来" => "tlx",
"吐鲁番" => "tfr",
"通辽" => "tld",
"铁岭" => "tlt",
"陶赖昭" => "tpt",
"图们" => "tml",
"铜仁" => "rdq",
"唐山北" => "fup",
"田师府" => "tft",
"泰山" => "tak",
"天水" => "tsj",
"唐山" => "tsp",
"通远堡" => "tyt",
"太阳升" => "tqt",
"泰州" => "uth",
"桐梓" => "tzw",
"通州西" => "tap",
"平安" => "pal",
"蓬安" => "paw",
"平安驿" => "pno",
"磐安镇" => "paj",
"平安镇" => "pzt",
"蒲城东" => "pey",
"蒲城" => "pcy",
"裴德" => "pdb",
"偏店" => "prp",
"平顶山西" => "bff",
"坡底下" => "pxj",
"瓢儿屯" => "prt",
"平房" => "pfb",
"平岗" => "pgl",
"平关" => "pgm",
"盘关" => "pam",
"平果" => "pgz",
"徘徊北" => "php",
"平河口" => "phm",
"盘锦北" => "pbd",
"潘家店" => "pdp",
"皮口" => "pkt",
"普兰店" => "plt",
"偏岭" => "pnt",
"平山" => "psb",
"彭山" => "psw",
"皮山" => "psr",
"彭水" => "phw",
"磐石" => "psl",
"平社" => "psv",
"平台" => "pvt",
"平田" => "ptm",
"莆田" => "pts",
"葡萄菁" => "ptw",
"普湾" => "pwt",
"平旺" => "pwv",
"平型关" => "pgv",
"普雄" => "pow",
"平洋" => "pyx",
"彭阳" => "pyj",
"平遥" => "pyv",
"平邑" => "pik",
"平原堡" => "ppj",
"平原" => "pyk",
"平峪" => "pyp",
"彭泽" => "pzg",
"邳州" => "pjh",
"平庄" => "pzd",
"泡子" => "pod",
"平庄南" => "pnd",
"乾安" => "qot",
"庆安" => "qab",
"迁安" => "qqp",
"祁东北" => "qrq",
"七甸" => "qdm",
"曲阜东" => "qak",
"庆丰" => "qft",
"奇峰塔" => "qvp",
"曲阜" => "qfk",
"勤丰营" => "qfm",
"琼海" => "qyq",
"秦皇岛" => "qtp",
"千河" => "quy",
"清河" => "qip",
"清河门" => "qhd",
"清华园" => "qhp",
"渠旧" => "qjz",
"綦江" => "qjw",
"潜江" => "qjn",
"全椒" => "inh",
"秦家" => "qjb",
"祁家堡" => "qbt",
"清涧县" => "qny",
"秦家庄" => "qzv",
"七里河" => "qld",
"渠黎" => "qlz",
"秦岭" => "qly",
"青龙山" => "qgh",
"青龙寺" => "qsm",
"祁门" => "qih",
"前磨头" => "qmp",
"青山" => "qsb",
"全胜" => "qvb",
"确山" => "qsn",
"清水" => "quj",
"前山" => "qxq",
"戚墅堰" => "qyh",
"青田" => "qvh",
"桥头" => "qat",
"青铜峡" => "qtj",
"前卫" => "qwd",
"前苇塘" => "qwp",
"渠县" => "qrw",
"祁县" => "qxv",
"青县" => "qxp",
"桥西" => "qxj",
"清徐" => "quv",
"旗下营" => "qxc",
"千阳" => "qoy",
"沁阳" => "qyf",
"泉阳" => "qyl",
"祁阳北" => "qvq",
"七营" => "qyj",
"庆阳山" => "qsj",
"清远" => "qbq",
"清原" => "qyt",
"钦州东" => "qdz",
"全州" => "qzz",
"钦州" => "qrz",
"青州市" => "qzk",
"瑞安" => "rah",
"荣昌" => "rcw",
"瑞昌" => "rcg",
"如皋" => "rbh",
"容桂" => "ruq",
"任丘" => "rqp",
"乳山" => "rok",
"融水" => "rsz",
"热水" => "rsd",
"容县" => "rxz",
"饶阳" => "rvp",
"汝阳" => "ryf",
"绕阳河" => "rhd",
"汝州" => "rof",
"石坝" => "obj",
"上板城" => "sbp",
"施秉" => "aqw",
"上板城南" => "obp",
"世博园" => "zwt",
"双城北" => "sbb",
"商城" => "swn",
"莎车" => "scr",
"顺昌" => "scs",
"舒城" => "och",
"神池" => "smv",
"沙城" => "scp",
"石城" => "sct",
"山城镇" => "scl",
"山丹" => "sdj",
"顺德" => "orq",
"绥德" => "ody",
"邵东" => "soq",
"水洞" => "sil",
"商都" => "sxc",
"十渡" => "sep",
"四道湾" => "oud",
"顺德学院" => "ojq",
"绅坊" => "olh",
"双丰" => "ofb",
"四方台" => "stb",
"水富" => "otw",
"三关口" => "okj",
"桑根达来" => "ogc",
"韶关" => "snq",
"上高镇" => "svk",
"上杭" => "jbs",
"沙海" => "sed",
"松河" => "sbm",
"沙河" => "shp",
"沙河口" => "skt",
"赛汗塔拉" => "shc",
"沙河市" => "vop",
"沙后所" => "ssd",
"山河屯" => "shl",
"三河县" => "oxp",
"四合永" => "ohd",
"三汇镇" => "ozw",
"双河镇" => "sel",
"石河子" => "szr",
"三合庄" => "svp",
"三家店" => "odp",
"水家湖" => "sqh",
"沈家河" => "ojj",
"松江河" => "sjl",
"尚家" => "sjb",
"孙家" => "sub",
"沈家" => "ojb",
"松江" => "sah",
"三江口" => "skd",
"司家岭" => "olk",
"松江南" => "imh",
"石景山南" => "srp",
"邵家堂" => "sjj",
"三江县" => "soz",
"三家寨" => "smm",
"十家子" => "sjd",
"松江镇" => "ozl",
"施家嘴" => "shm",
"深井子" => "swt",
"什里店" => "omp",
"疏勒" => "sur",
"疏勒河" => "shj",
"舍力虎" => "vld",
"石磷" => "spb",
"绥棱" => "sib",
"石岭" => "sol",
"石林" => "slm",
"石林南" => "lnm",
"石龙" => "slq",
"萨拉齐" => "slc",
"索伦" => "snt",
"商洛" => "oly",
"沙岭子" => "slp",
"三门峡南" => "scf",
"三门县" => "oqh",
"石门县" => "omq",
"三门峡西" => "sxf",
"肃宁" => "syp",
"宋" => "sob",
"双牌" => "sbz",
"四平东" => "ppt",
"遂平" => "son",
"沙坡头" => "sfj",
"商丘南" => "spf",
"水泉" => "sid",
"石泉县" => "sxy",
"石桥子" => "sqt",
"石人城" => "srb",
"石人" => "srl",
"山市" => "sqb",
"神树" => "swb",
"鄯善" => "ssr",
"三水" => "sjq",
"泗水" => "osk",
"石山" => "sad",
"松树" => "sft",
"首山" => "sat",
"三十家" => "srd",
"三十里堡" => "sst",
"松树镇" => "ssl",
"松桃" => "mzq",
"索图罕" => "shx",
"三堂集" => "sdh",
"石头" => "otb",
"神头" => "sev",
"沙沱" => "sfm",
"上万" => "swp",
"孙吴" => "skb",
"沙湾县" => "sxr",
"遂溪" => "sxz",
"沙县" => "sas",
"绍兴" => "soh",
"歙县" => "ovh",
"石岘" => "sxl",
"上西铺" => "sxm",
"石峡子" => "sxj",
"绥阳" => "syb",
"沭阳" => "fmh",
"寿阳" => "syv",
"水洋" => "oyp",
"三阳川" => "syj",
"上腰墩" => "spj",
"三营" => "oej",
"顺义" => "sop",
"三义井" => "oyd",
"三源浦" => "syl",
"三原" => "say",
"上虞" => "bdh",
"上园" => "sud",
"水源" => "oyj",
"桑园子" => "saj",
"绥中北" => "snd",
"苏州北" => "ohh",
"宿州东" => "srh",
"深圳东" => "bjq",
"深州" => "ozp",
"孙镇" => "ozy",
"绥中" => "szd",
"尚志" => "szb",
"师庄" => "snm",
"松滋" => "sin",
"师宗" => "sem",
"苏州园区" => "kah",
"苏州新区" => "ith",
"石嘴山" => "szj",
"泰安" => "tmk",
"台安" => "tid",
"通安驿" => "taj",
"桐柏" => "tbf",
"通北" => "tbb",
"汤池" => "tcx",
"桐城" => "tth",
"郯城" => "tzk",
"铁厂" => "tcl",
"桃村" => "tck",
"通道" => "trq",
"田东" => "tdz",
"天岗" => "tgl",
"土贵乌拉" => "tgc",
"通沟" => "tol",
"太谷" => "tgv",
"塔哈" => "thx",
"棠海" => "thm",
"唐河" => "thf",
"泰和" => "thg",
"太湖" => "tkh",
"团结" => "tix",
"谭家井" => "tnj",
"陶家屯" => "tot",
"唐家湾" => "pdq",
"统军庄" => "tzp",
"泰康" => "tkx",
"吐列毛杜" => "tmd",
"图里河" => "tex",
"亭亮" => "tiz",
"田林" => "tfz",
"铜陵" => "tjh",
"铁力" => "tlb",
"铁岭西" => "pxt",
"天门" => "tmn",
"天门南" => "tnn",
"太姥山" => "tls",
"土牧尔台" => "trc",
"土门子" => "tcj",
"潼南" => "tvw",
"洮南" => "tvt",
"太平川" => "tit",
"太平镇" => "teb",
"图强" => "tqx",
"台前" => "ttk",
"天桥岭" => "tql",
"土桥子" => "tqj",
"汤山城" => "tct",
"桃山" => "tab",
"塔石嘴" => "tim",
"通途" => "tut",
"汤旺河" => "thb",
"同心" => "txj",
"土溪" => "tsw",
"桐乡" => "tch",
"田阳" => "trz",
"桃映" => "tkq",
"天义" => "tnd",
"汤阴" => "tyf",
"驼腰岭" => "til",
"太阳山" => "tyj",
"汤原" => "tyb",
"塔崖驿" => "typ",
"滕州东" => "tek",
"台州" => "tzh",
"天祝" => "tzj",
"滕州" => "txk",
"天镇" => "tzv",
"桐子林" => "tew",
"天柱山" => "qwh",
"前锋" => "qfb",
"庆盛" => "qsq",
"深圳北" => "ioq",
"通海" => "tam",
"武汉" => "whn",
"王家营西" => "knm",
"乌鲁木齐" => "wmr",
"西安北" => "eay",
"西安" => "xay",
"西安南" => "cay",
"西宁西" => "xxo",
"银川" => "yij",
"郑州" => "zzf",
"五常" => "wcb",
"武昌" => "wcn",
"瓦房店" => "wdt",
"威海" => "wkk",
"芜湖" => "whh",
"乌海西" => "wxc",
"吴家屯" => "wjt",
"武隆" => "wlw",
"乌兰浩特" => "wwt",
"渭南" => "wny",
"威舍" => "wsm",
"歪头山" => "wit",
"武威" => "wuj",
"武威南" => "wwj",
"无锡" => "wxh",
"乌西" => "wxr",
"乌伊岭" => "wpb",
"武夷山" => "was",
"万源" => "wyy",
"万州" => "wyw",
"梧州" => "wzz",
"温州" => "rzh",
"温州南" => "vrh",
"西昌" => "ecw",
"许昌" => "xcf",
"西昌南" => "enw",
"香坊" => "xfb",
"轩岗" => "xgv",
"兴国" => "eug",
"宣汉" => "xhy",
"新会" => "efq",
"新晃" => "xlq",
"锡林浩特" => "xtc",
"兴隆县" => "exp",
"厦门北" => "xks",
"厦门" => "xms",
"厦门高崎" => "xbs",
"秀山" => "etw",
"小市" => "xst",
"向塘" => "xtg",
"宣威" => "xwm",
"新乡" => "xxf",
"信阳" => "xun",
"咸阳" => "xyy",
"襄阳" => "xfn",
"熊岳城" => "xyt",
"兴义" => "xrz",
"新沂" => "vih",
"新余" => "xug",
"徐州" => "xch",
"延安" => "ywy",
"宜宾" => "ybw",
"亚布力南" => "ywb",
"叶柏寿" => "ybd",
"宜昌东" => "han",
"永川" => "ycw",
"宜春" => "ycg",
"宜昌" => "ycn",
"盐城" => "afh",
"运城" => "ynv",
"伊春" => "ycb",
"榆次" => "ycv",
"杨村" => "ybp",
"伊尔施" => "yet",
"燕岗" => "ygw",
"永济" => "yiv",
"延吉" => "yjl",
"营口" => "ykt",
"牙克石" => "ykx",
"阎良" => "yny",
"玉林" => "ylz",
"榆林" => "aly",
"一面坡" => "ypb",
"伊宁" => "ymr",
"阳平关" => "yay",
"玉屏" => "yzw",
"原平" => "ypv",
"延庆" => "ynp",
"阳泉曲" => "yyv",
"玉泉" => "yqb",
"阳泉" => "aqp",
"玉山" => "yng",
"营山" => "nuw",
"燕山" => "aop",
"榆树" => "yrt",
"鹰潭" => "ytg",
"烟台" => "yak",
"伊图里河" => "yex",
"玉田县" => "atp",
"义乌" => "ywh",
"阳新" => "yon",
"义县" => "yxd",
"益阳" => "aeq",
"岳阳" => "yyq",
"永州" => "aoq",
"扬州" => "ylh",
"淄博" => "zbk",
"镇城底" => "zdv",
"自贡" => "zgw",
"珠海" => "zhq",
"珠海北" => "ziq",
"湛江" => "zjz",
"镇江" => "zjh",
"张家界" => "diq",
"张家口" => "zkp",
"张家口南" => "zmp",
"周口" => "zkn",
"哲里木" => "zlc",
"扎兰屯" => "ztx",
"驻马店" => "zdn",
"肇庆" => "zvq",
"周水子" => "zit",
"昭通" => "zdw",
"中卫" => "zwj",
"资阳" => "zyw",
"遵义" => "ziw",
"枣庄" => "zek",
"资中" => "zzw",
"株洲" => "zzq",
"枣庄西" => "zfk",
"文安" => "wbp",
"武安" => "wap",
"王安镇" => "wvp",
"旺苍" => "wew",
"五叉沟" => "wct",
"文昌" => "weq",
"温春" => "wdb",
"五大连池" => "wrb",
"文登" => "wbk",
"五道沟" => "wdl",
"五道河" => "whp",
"文地" => "wnz",
"卫东" => "wvt",
"武当山" => "wrn",
"望都" => "wdp",
"乌尔旗汗" => "whx",
"潍坊" => "wfk",
"万发屯" => "wfb",
"王府" => "wut",
"瓦房店西" => "wxt",
"王岗" => "wgb",
"武功" => "wgy",
"湾沟" => "wgl",
"吴官田" => "wgm",
"乌海" => "wvc",
"苇河" => "whb",
"卫辉" => "whf",
"吴家川" => "wcj",
"五家" => "wub",
"威箐" => "wam",
"午汲" => "wjp",
"渭津" => "wjl",
"王家湾" => "wjj",
"倭肯" => "wqb",
"五棵树" => "wkt",
"五龙背" => "wbt",
"乌兰哈达" => "wlc",
"万乐" => "web",
"瓦拉干" => "wvx",
"温岭" => "vhh",
"五莲" => "wlk",
"乌拉特前旗" => "wqc",
"乌拉山" => "wsc",
"卧里屯" => "wlx",
"渭南北" => "wby",
"乌奴耳" => "wrx",
"万宁" => "wnq",
"万年" => "wwg",
"渭南南" => "wvy",
"渭南镇" => "wnj",
"沃皮" => "wpt",
"吴堡" => "wuy",
"吴桥" => "wup",
"汪清" => "wql",
"武清" => "wwp",
"温泉" => "wqm",
"武山" => "wsj",
"文水" => "wev",
"魏善庄" => "wsp",
"王瞳" => "wtp",
"五台山" => "wsv",
"王团庄" => "wzj",
"五五" => "wvr",
"无锡东" => "wgh",
"卫星" => "wvb",
"闻喜" => "wxv",
"武乡" => "wvv",
"无锡新区" => "ifh",
"武穴" => "wxn",
"吴圩" => "wyz",
"王杨" => "wyb",
"五营" => "wwb",
"武义" => "ryh",
"瓦窑田" => "wim",
"五原" => "wyc",
"苇子沟" => "wzl",
"韦庄" => "wzy",
"五寨" => "wzv",
"王兆屯" => "wzb",
"微子镇" => "wqp",
"魏杖子" => "wkd",
"新安" => "eam",
"兴安" => "xaz",
"新安县" => "xaf",
"新保安" => "xap",
"下板城" => "ebp",
"西八里" => "xlp",
"宣城" => "ech",
"兴城" => "xcd",
"小村" => "xem",
"新绰源" => "xrx",
"下城子" => "xcb",
"新城子" => "xct",
"喜德" => "edw",
"小得江" => "ejm",
"西大庙" => "xmp",
"小董" => "xez",
"小东" => "xod",
"西斗铺" => "xpc",
"息烽" => "xfw",
"信丰" => "efg",
"襄汾" => "xfv",
"新干" => "egg",
"孝感" => "xgn",
"西固城" => "xuj",
"夏官营" => "xgj",
"西岗子" => "nbb",
"襄河" => "xxb",
"新和" => "xir",
"宣和" => "xwj",
"斜河涧" => "eep",
"新华屯" => "xax",
"新华" => "xhb",
"新化" => "ehq",
"宣化" => "xhp",
"兴和西" => "xec",
"小河沿" => "xyd",
"下花园" => "xyp",
"小河镇" => "eky",
"徐家" => "xjb",
"峡江" => "ejg",
"新绛" => "xjv",
"辛集" => "enp",
"新江" => "xjm",
"西街口" => "ekm",
"许家屯" => "xjt",
"许家台" => "xtj",
"谢家镇" => "xmt",
"兴凯" => "ekb",
"小榄" => "eaq",
"香兰" => "xnb",
"兴隆店" => "xdd",
"新乐" => "elp",
"新林" => "xpx",
"小岭" => "xlb",
"新李" => "xlj",
"西林" => "xyb",
"西柳" => "gct",
"仙林" => "xph",
"新立屯" => "xld",
"小路溪" => "xlm",
"兴隆镇" => "xzb",
"新立镇" => "xgt",
"新民" => "xmd",
"西麻山" => "xmb",
"下马塘" => "xat",
"孝南" => "xnv",
"咸宁北" => "xrn",
"兴宁" => "enq",
"咸宁" => "xnn",
"西平" => "xpn",
"兴平" => "xpy",
"新坪田" => "xpm",
"霞浦" => "xos",
"溆浦" => "epq",
"犀浦" => "xiw",
"新青" => "xqb",
"新邱" => "xqd",
"兴泉堡" => "xqj",
"仙人桥" => "xrl",
"小寺沟" => "esp",
"杏树" => "xsb",
"夏石" => "xiz",
"浠水" => "xzn",
"下社" => "xsv",
"徐水" => "xsp",
"小哨" => "xam",
"新松浦" => "xob",
"杏树屯" => "xdt",
"许三湾" => "xsj",
"湘潭" => "xtq",
"邢台" => "xtp",
"仙桃西" => "xan",
"*子" => "eip",
"徐闻" => "xjq",
"新窝铺" => "epd",
"修武" => "xwf",
"新县" => "xsn",
"息县" => "enn",
"西乡" => "xqy",
"湘乡" => "xxq",
"西峡" => "xif",
"孝西" => "xov",
"小新街" => "xxm",
"新兴县" => "xgq",
"西小召" => "xzc",
"小西庄" => "xxp",
"向阳" => "xdb",
"旬阳" => "xuy",
"旬阳北" => "xby",
"襄阳东" => "xwn",
"兴业" => "snz",
"小雨谷" => "xhm",
"信宜" => "eeq",
"小月旧" => "xfm",
"小扬气" => "xyx",
"祥云" => "exm",
"襄垣" => "eif",
"夏邑县" => "ejh",
"新友谊" => "eyb",
"新阳镇" => "xzj",
"徐州东" => "uuh",
"新帐房" => "xzx",
"悬钟" => "xrp",
"新肇" => "xzt",
"忻州" => "xxv",
"汐子" => "xzd",
"西哲里木" => "xrd",
"新杖子" => "erp",
"姚安" => "yac",
"依安" => "yax",
"永安" => "yas",
"永安乡" => "ynb",
"渔坝村" => "ybm",
"亚布力" => "ybb",
"元宝山" => "yud",
"羊草" => "yab",
"秧草地" => "ykm",
"阳澄湖" => "aih",
"迎春" => "yyb",
"叶城" => "yer",
"盐池" => "ykj",
"砚川" => "yyy",
"阳春" => "yqq",
"宜城" => "yin",
"应城" => "yhn",
"禹城" => "yck",
"晏城" => "yek",
"羊场" => "yed",
"阳城" => "ynf",
"阳岔" => "yal",
"郓城" => "ypk",
"雁翅" => "yap",
"云彩岭" => "acp",
"虞城县" => "ixh",
"营城子" => "yct",
"永登" => "ydj",
"英德" => "ydq",
"尹地" => "ydm",
"永定" => "ygs",
"雁荡山" => "ygh",
"于都" => "ydg",
"园墩" => "yaj",
"英德西" => "iiq",
"永福" => "yfz",
"永丰营" => "yym",
"杨岗" => "yrb",
"阳高" => "yov",
"阳谷" => "yik",
"友好" => "yob",
"余杭" => "evh",
"沿河城" => "yhp",
"岩会" => "aep",
"羊臼河" => "yhm",
"永嘉" => "urh",
"营街" => "yam",
"盐津" => "aew",
"余江" => "yhg",
"叶集" => "ych",
"燕郊" => "ajp",
"姚家" => "yat",
"岳家井" => "ygj",
"一间堡" => "yjt",
"英吉沙" => "yir",
"云居寺" => "afp",
"燕家庄" => "azk",
"永康" => "rfh",
"营口东" => "ygt",
"银浪" => "yjx",
"永郎" => "ylw",
"宜良北" => "ysm",
"永乐店" => "ydy",
"伊拉哈" => "ylx",
"伊林" => "ylb",
"彝良" => "alw",
"杨林" => "ylm",
"余粮堡" => "yld",
"杨柳青" => "yqp",
"月亮田" => "yum",
"亚龙湾" => "twq",
"杨陵镇" => "ysy",
"义马" => "ymf",
"云梦" => "ymn",
"元谋" => "ymm",
"阳明堡" => "yvv",
"一面山" => "yst",
"玉门镇" => "yxj",
"沂南" => "ynk",
"宜耐" => "yvm",
"伊宁东" => "ynr",
"一平浪" => "yim",
"营盘水" => "yzj",
"羊堡" => "abm",
"营盘湾" => "ypc",
"阳泉北" => "ypp",
"乐清" => "uph",
"焉耆" => "ysr",
"源迁" => "aqk",
"姚千户屯" => "yqt",
"阳曲" => "yqv",
"榆树沟" => "ygp",
"月山" => "ybf",
"玉石" => "ysj",
"偃师" => "ysf",
"沂水" => "yuk",
"榆社" => "ysv",
"窑上" => "asp",
"元氏" => "ysp",
"杨树岭" => "yad",
"野三坡" => "aip",
"榆树屯" => "ysx",
"榆树台" => "yut",
"鹰手营子" => "yip",
"源潭" => "ytq",
"牙屯堡" => "ytz",
"烟筒山" => "ysl",
"烟筒屯" => "yux",
"羊尾哨" => "ywm",
"越西" => "yhw",
"攸县" => "yog",
"玉溪" => "yxm",
"永修" => "acg",
"酉阳" => "afw",
"余姚" => "yyh",
"弋阳东" => "yig",
"岳阳东" => "yiq",
"阳邑" => "arp",
"鸭园" => "yyl",
"鸳鸯镇" => "yyj",
"燕子砭" => "yzy",
"宜州" => "ysz",
"仪征" => "uzh",
"兖州" => "yzk",
"迤资" => "yqm",
"羊者窝" => "aem",
"杨杖子" => "yzd",
"镇安" => "zey",
"治安" => "zad",
"招柏" => "zbp",
"张百湾" => "zup",
"枝城" => "zcn",
"子长" => "zhy",
"诸城" => "zqk",
"邹城" => "zik",
"赵城" => "zcv",
"章党" => "zht",
"肇东" => "zdb",
"照福铺" => "zfm",
"章古台" => "zgd",
"赵光" => "zgb",
"中和" => "zhx",
"中华门" => "vnh",
"枝江北" => "zin",
"钟家村" => "zjy",
"朱家沟" => "zub",
"紫荆关" => "zyp",
"周家" => "zob",
"诸暨" => "zdh",
"镇江南" => "zeh",
"周家屯" => "zod",
"郑家屯" => "zjd",
"褚家湾" => "cwj",
"湛江西" => "zwq",
"朱家窑" => "zuj",
"曾家坪子" => "zbw",
"张兰" => "zlv",
"镇赉" => "zlt",
"枣林" => "ziv",
"扎鲁特" => "zld",
"扎赉诺尔西" => "zxx",
"樟木头" => "zoq",
"中牟" => "zgf",
"中宁东" => "zdj",
"中宁" => "vnj",
"中宁南" => "znj",
"镇平" => "zpf",
"漳平" => "zps",
"泽普" => "zpr",
"枣强" => "zvp",
"张桥" => "zqy",
"章丘" => "ztk",
"朱日和" => "zrc",
"泽润里" => "zlm",
"中山北" => "zgq",
"樟树东" => "zog",
"中山" => "zsq",
"柞水" => "zsy",
"钟山" => "zsz",
"樟树" => "zsg",
"珠窝" => "zop",
"张维屯" => "zwb",
"彰武" => "zwd",
"棕溪" => "zoy",
"钟祥" => "ztn",
"资溪" => "zxs",
"镇西" => "zvt",
"张辛" => "zip",
"正镶白旗" => "zxc",
"*" => "zvy",
"枣阳" => "zyn",
"竹园坝" => "zaw",
"张掖" => "zyj",
"镇远" => "zuw",
"朱杨溪" => "zxw",
"漳州东" => "gos",
"漳州" => "zus",
"壮志" => "zux",
"子洲" => "zzy",
"中寨" => "zzm",
"涿州" => "zxp",
"咋子" => "zal",
"卓资山" => "zzc",
"株洲西" => "zaq",
"许昌东" => "xvf",
"孝感北" => "xjn",
"邢台东" => "edp",
"新乡东" => "egf",
"西阳村" => "xqf",
"信阳东" => "oyn",
"雨格" => "vtm",
"正定机场" => "zhp",
"织金" => "izw",
"驻马店西" => "zln",
"涿州东" => "zap",
"卓资东" => "zdc",
"郑州东" => "zaf"
);
train.php
<?php
/*
*@description 火车票余票查询和价格查询
*@author widuu
*@mktime 2014/1/13
*/
header("content-type:text/html;charset='utf-8'");
function gettrain($start,$end,$data){
$station = include('./name.php');
$startstaion = $station[$start];
$endstation = $station[$end];
if(empty($data)){
$date = date("y-m-d",time());
}else{
$num = explode("-", $data);
if(count($num)==2){
$date = date("y",time())."-".$data;
}else if(count($num)==3){
$date = $data;
}else{
exit("time error");
}
}
if(empty($startstaion)||empty($endstation)){
exit("stdin error");
}
$url ="http://kyfw.12306.cn/otn/lcxxcx/query?purpose_codes=adult&querydate=$date&from_station=$startstaion&to_station=$endstation";
$data = doget($url);
if(!$data['status']){
exit('check error');
}else{
$data = $data['data']['datas'];
foreach ($data as $key => $value) {
$price = doget("http://kyfw.12306.cn/otn/leftticket/queryticketprice?train_no=".$data[$key]["train_no"]."&from_station_no=".$data[$key]["from_station_no"]."&to_station_no=".$data[$key]["to_station_no"]."&seat_types=".$data[$key]["seat_types"]."&train_date=$date");
$data[$key]["gr_num"] = $data[$key]["gr_num"]."(".$price["data"]["a6"].")";
$data[$key]["qt_num"] = $data[$key]["qt_num"]."(".$price["data"]["ot"][0].")";
$data[$key]["rw_num"] = $data[$key]["rw_num"]."(".$price["data"]["a4"].")";
$data[$key]["rz_num"] = $data[$key]["rz_num"]."(".$price["data"]["a2"].")";
$data[$key]["tz_num"] = $data[$key]["tz_num"]."(".$price["data"]["p"].")";
$data[$key]["wz_num"] = $data[$key]["wz_num"]."(".$price["data"]["wz"].")";
$data[$key]["yw_num"] = $data[$key]["yw_num"]."(".$price["data"]["a3"].")";
$data[$key]["yz_num"] = $data[$key]["yz_num"]."(".$price["data"]["a1"].")";
$data[$key]["ze_num"] = $data[$key]["ze_num"]."(".$price["data"]["o"].")";
$data[$key]["zy_num"] = $data[$key]["zy_num"]."(".$price["data"]["m"].")";
$data[$key]["swz_num"]= $data[$key]["swz_num"]."(".$price["data"]["a9"].")";
}
}
return $data;
}
function doget($url){
if(!function_exists('file_get_contents')) {
$optionget = array('http' => array('method' => "get", 'header' => "user-agent:mozilla/4.0 (compatible; msie 7.0; windows nt 6.0; slcc1; .net clr 2.0.50727; media center pc 5.0; .net clr 3.5.21022; .net clr 3.0.04506; ciba)\r\naccept:*/*\r\nreferer:https://kyfw.12306.cn/otn/lcxxcx/init"));
$file_contents = file_get_contents($url, false , stream_context_create($optionget));
} else {
$ch = curl_init();
$timeout = 5;
$header = array(
'accept:*/*',
'accept-charset:gbk,utf-8;q=0.7,*;q=0.3',
'accept-encoding:gzip,deflate,sdch',
'accept-language:zh-cn,zh;q=0.8,ja;q=0.6,en;q=0.4',
'connection:keep-alive',
'host:kyfw.12306.cn',
'referer:https://kyfw.12306.cn/otn/lcxxcx/init',
);
curl_setopt ($ch, curlopt_url, $url);
curl_setopt($ch, curlopt_httpheader,$header);
curl_setopt ($ch, curlopt_returntransfer, 1);
curl_setopt($ch, curlopt_ssl_verifyhost,1);
curl_setopt($ch, curlopt_ssl_verifypeer, 0);
curl_setopt ($ch, curlopt_connecttimeout, $timeout);
$file_contents = curl_exec($ch);
curl_close($ch);
}
$file_contents = json_decode($file_contents,true);
return $file_contents;
}
/*
*这个由于时间紧写的,所以很多地方还需要优化,希望大家改善一下,可以分部和文件缓存的形式提高执行速度--缺点执行速度慢--有待优化
*/
$data = gettrain("北京","天津","01-03");
/*
* ["gr_num"]=>高级软卧
* ["qt_num"]=>其他
* ["rw_num"]=> 软卧
* ["rz_num"]=>软座
* ["tz_num"]=>特等座
* ["wz_num"]=>无座
* ["yw_num"]=>硬卧
* ["yz_num"]=>硬座
* ["ze_num"]=>二等座
* ["zy_num"]=> 一等座
* ["swz_num"]=> 商务座
*/
$str="";
foreach($data as $key =>$value){
$str.="火车列次:{$data[$key]['station_train_code']}";
$str.="始发站:{$data[$key]['start_station_name']},终点站{$data[$key]['end_station_name']}<br>";
$str.="出发时间:{$data[$key]['start_time']},到站时间:{$data[$key]['arrive_time']}<br>";
$str.="";
$str.= strpos($data[$key]["gr_num"],"()") ? "" :"高级软卧余票和价格:".$data[$key]["gr_num"]."<br>";
$str.= strpos($data[$key]["qt_num"],"()") ? "" :"其他余票和价格:".$data[$key]["qt_num"]."<br>";
$str.= strpos($data[$key]["rw_num"],"()") ? "" :"软卧余票和价格:".$data[$key]["rw_num"]."<br>";
$str.= strpos($data[$key]["rz_num"],"()") ? "" :"软座余票和价格:".$data[$key]["rz_num"]."<br>";
$str.= strpos($data[$key]["tz_num"],"()") ? "" :"特等座余票和价格:".$data[$key]["tz_num"]."<br>";
$str.= strpos($data[$key]["wz_num"],"()") ? "" :"无座余票和价格:".$data[$key]["wz_num"]."<br>";
$str.= strpos($data[$key]["yw_num"],"()") ? "" :"硬卧余票和价格:".$data[$key]["yw_num"]."<br>";
$str.= strpos($data[$key]["yz_num"],"()") ? "" :"硬座余票和价格:".$data[$key]["yz_num"]."<br>";
$str.= strpos($data[$key]["ze_num"],"()") ? "" :"二等座余票和价格:".$data[$key]["ze_num"]."<br>";
$str.= strpos($data[$key]["zy_num"],"()") ? "" :"一等座余票和价格:".$data[$key]["zy_num"]."<br>";
$str.= strpos($data[$key]["swz_num"],"()") ? "" :"商务座余票和价格:".$data[$key]["swz_num"]."<br>";
$str.= "======================下一列火车上===============================<br>";
}
echo $str;
上一篇: PHP四舍五入精确小数位及取整