小叮当的肚兜 2019-06-26 12:52:24 773次浏览 0条回复 2 3 0

https://packagist.org/packages/crazephper/baidu-express

基于百度查询快递信息

use Express\BDExpress;

$number = 'xxxxxxxxxxxx';

$res = BDExpress::searchExpress($number);

Array
(
    [status] => 1
    [com] => yunda
    [state] => 3
    [send_time] => 
    [departure_city] => 
    [arrival_city] => 
    [latest_progress] => 
    [context] => Array
        (
            [0] => Array
                (
                    [time] => 1558745289
                    [desc] => 【合肥市肥市138***617】。相逢是缘1] => Array
                (
                    [time] => 1558742679
                    [desc] => 【合肥市肥市138***617 正在为您派件为您派件2] => Array
                (
                    [time] => 1558716786
                    [desc] => 【合肥市肥市3] => Array
                (
                    [time] => 1558716768
                    [desc] => 【合肥市肥市4] => Array
                (
                    [time] => 1558715428
                    [desc] => 【合肥市肥市5] => Array
                (
                    [time] => 1558642569
                    [desc] => 【泉州市州市6] => Array
                (
                    [time] => 1558642466
                    [desc] => 【泉州市州市7] => Array
                (
                    [time] => 1558620838
                    [desc] => 【漳州市州市8] => Array
                (
                    [time] => 1558614043
                    [desc] => 【漳州市州市=> yunda
    [_support_from] => partner
)
觉得很赞
亿速云
    没有找到数据。
您需要登录后才可以回复。登录 | 立即注册