首頁  >  文章  >  php教程  >  PHP兩種不同的快遞運單號查詢

PHP兩種不同的快遞運單號查詢

WBOY
WBOY原創
2016-09-29 09:18:532191瀏覽

本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>         ?>

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn