Maison  >  Article  >  php教程  >  PHP两种不同的快递运单号查询

PHP两种不同的快递运单号查询

WBOY
WBOYoriginal
2016-09-29 09:18:532191parcourir

本DEMO中的PHP快递运单号查询都是原创,代码简单,可直接使用。通常可应用在发货和退货等场景。提示:无快递查询次数限制。
PHP两种不同的快递运单号查询
第一种根据运单号类型和运单号判断:http://www.sucaihuo.com/js/161.html
第二种根据运单号直接查询:http://www.sucaihuo.com/js/565.html
支持的快递运单号类型有:<?php <br />         $codes = array(<br>             0=>array(<br>                 "code"=>"ems",<br>                 "name"=>"ems快递",<br>             ),<br>             1=>array(<br>                 "code"=>"shentong",<br>                 "name"=>"申通快递",<br>             ),<br>             2=>array(<br>                 "code"=>"yuantong",<br>                 "name"=>"圆通速递",<br>             ),<br>            3=>array(<br>                 "code"=>"shunfeng",<br>                 "name"=>"顺丰速运",<br>             ),<br>             4=>array(<br>                 "code"=>"tiantian",<br>                 "name"=>"天天快递",<br>             ),<br>             5=>array(<br>                 "code"=>"yunda",<br>                 "name"=>"韵达快递",<br>             ),<br>             6=>array(<br>                 "code"=>"zhongtong",<br>                 "name"=>"中通速递",<br>             ),<br>             7=>array(<br>                 "code"=>"longbanwuliu",<br>                 "name"=>"龙邦物流",<br>             ),<br>             8=>array(<br>                 "code"=>"zhaijisong",<br>                 "name"=>"宅急送",<br>             ),<br>             9=>array(<br>                 "code"=>"quanyikuaidi",<br>                 "name"=>"全一快递",<br>             ),<br>              10=>array(<br>                 "code"=>"huitongkuaidi",<br>                 "name"=>"汇通速递",<br>             ),<br>              11=>array(<br>                 "code"=>"minghangkuaidi",<br>                 "name"=>"民航快递",<br>             ),<br>              12=>array(<br>                 "code"=>"yafengsudi",<br>                 "name"=>"亚风速递",<br>             ),<br>              13=>array(<br>                 "code"=>"kuaijiesudi",<br>                 "name"=>"快捷速递",<br>             ),<br>             14=>array(<br>                 "code"=>"tiandihuayu",<br>                 "name"=>"天地华宇",<br>             ),<br>             15=>array(<br>                 "code"=>"zhongtiekuaiyun",<br>                 "name"=>"中铁快运",<br>             ),<br>             16=>array(<br>                 "code"=>"deppon",<br>                 "name"=>"德邦物流",<br>             ),<br>             17=>array(<br>                 "code"=>"yousukuaidi",<br>                 "name"=>"优速快递",<br>             ),<br>             18=>array(<br>                 "code"=>"yeahyoung",<br>                 "name"=>"越洋仓国际供应链",<br>             ),<br>         );<br>         ?>

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn