<?php
return [
    'logistic' => [
        'ZTO' => 'ZTO',
        'SF' => 'SF',
        'YUNDA' => 'YUNDA',
        'STO' => 'STO',
        'YTO' => 'YTO',
        'POSTB' => 'OTHER',
        'EMS' => 'OTHER',
        'OTHER' => 'OTHER',
        'DFZPS' => 'OTHER',
        'DBKD' => 'OTHER',
        'DBWL' => 'OTHER',
        'ANWL' => 'OTHER',
        'ANWLDF' => 'OTHER',
        'BSZFC' => 'OTHER',
        'BSZFCDF' => 'OTHER',
        'BSZX' => 'OTHER',
        'BSZXDF' => 'OTHER',
        'DBKDDF' => 'OTHER',
        'DBWLDF' => 'OTHER',
        'ECJG' => 'OTHER',
        'GYZT' => 'OTHER',
        'KCTZ' => 'OTHER',
        'KHZT' => 'OTHER',
        'KNDB' => 'OTHER',
        'KYSY' => 'OTHER',
        'KYSYLY' => 'OTHER',
        'KYSYLYDF' => 'OTHER',
        'SFCC' => 'SF',
        'SFCCDF' => 'SF',
        'SFGJBK' => 'SF',
        'SFGJTH' => 'SF',
        'SFJR' => 'SF',
        'SFJRDF' => 'SF',
        'SFLD' => 'SF',
        'SFSX' => 'SF',
        'SFSY' => 'SF',
        'SFSYDF' => 'SF',
        'SFSYQHD' => 'SF',
        'SFTH' => 'SF',
        'SFTHBJ' => 'SF',
        'SFTHDF' => 'SF',
        'SFTHDFBJ' => 'SF',
        'SFTHQHD' => 'SF',
        'SFTHZMJ' => 'SF',
        'SFTHZMJDF' => 'SF',
        'SHUNFENG' => 'OTHER',
        'WPSFSY' => 'SF',
        'WPZTO' => 'ZTO',
        'WXWL' => 'OTHER',
        'XJWL' => 'OTHER',
        'XJWLDF' => 'OTHER',
        'ZT' => 'OTHER',
        'YCT' => 'OTHER',
        'ZHUANGXIAN' => 'OTHER',
        'CHANGTONG' => 'OTHER',
        'YMDD' => 'OTHER',
        'GUONENG' => 'OTHER',
        'DUMMY' => 'OTHER',
        'SANGSONG' => 'OTHER',
        'JITU' => 'OTHER',
        'JDKD' => 'OTHER',
        'SXJD' => 'OTHER',
        'EMS标准快递' => 'OTHER',
        '圆通速递' => 'OTHER',
        '京东快递' => 'OTHER',
        '邮政快递包裹' => 'OTHER',
        'SFGJBKDF' => 'SF',
        '飞扬' => 'OTHER',
        '测试承运商' => 'OTHER',
        '货拉拉' => 'OTHER',
        '运满满' => 'OTHER',
        '马玉亮' => 'OTHER',
        '其他' => 'OTHER',
    ],
    //丰桥
    'SF' => [
        'url' => 'https://bspsw.sf-express.com/sfexpressService',
        'head' => 'BSGYLGL',
        'check_word' => 'DcauTQEavq5qqpFaYmltzR7gzVCTjvtz',
        'max_size' => 10,
        'op_code_map' => [
            30 => '快件在【XXX营业点】已装车,准备发往 【XXX集散中心】',
            31 => '快件到达 【XXX集散中心】',
            33 => '派件异常原因',
            3036 => '快件在XXX ,准备送往下一站',
            44 => '正在派送途中,请您准备签收(派件人:XXX,电话:XXX)',
            50 => '顺丰已收件',
            70 => '由于XXX原因 派件不成功',
            80 => '已签收,感谢使用顺丰,期待再次为您服务',
            8000 => '在官网"运单资料&签收图",可查看签收人信',
            130 => '快件到达顺丰店/站',
            123 => '快件正送往顺丰店/站',
            607 => '代理收件',
            99 => '应客户要求,快件正在转寄中',
            648 => '快件已退回/转寄,新单号为: XXX,快件正在转寄中',
        ],
        'received_code' => 80,
        'error_code' => 33,
    ],
    //中通 https://op.zto.cn/#/Console?type=API
    'ZTO' => [
        'url' => 'https://japi.zto.com/zto.open.getRouteInfo',
        'x-appKey' => 'c51c718eb899e9f706979',
        'appSecret' => '9f664e3ab08049874aa417720840161a',
    ],
    'YD' => [
        'test' => [
            'app-key' => '999999',
            'app-secret' => '04d4ad40eeec11e9bad2d962f53dda9d',
            'search' => [
                'url' => 'https://u-openapi.yundasys.com/openapi/outer/logictis/query',
            ],
            'register' => [
                'url' => 'https://u-openapi.yundasys.com/openapi/outer/logictis/subscribe',
            ],
        ],
        'prod'=>[
            'app-key' => '000638',
            'app-secret' => '0b941e746e3e4a5687c11f11f32ef9a3',
            'search' => [
                'url' => 'https://openapi.yundaex.com/openapi/outer/logictis/query',
            ],
            'register' => [
                'url' => 'https://openapi.yundaex.com/openapi/outer/logictis/subscribe',
            ],
        ]
    ],
    'YTO' => [
        'test' => [
            'app-key' => 'sF1Jzn',
            'app-secret' => '1QLlIZ',
            'user_id' => 'YTOTEST',
            'method' => 'yto.Marketing.WaybillTrace',
            'format' => 'JSON',
            'v' => '1.01',
            'search' => [
                'url' => 'http://opentestapi.yto.net.cn/service/waybill_query/v1/gy6h76',
            ],
        ],
        'prod' => [
            'app-key' => 'CWJVR1',
            'app-secret' => 'ii3xrv',
            'user_id' => 'gy6h76',
            'method' => 'yto.Marketing.WaybillTrace',
            'format' => 'JSON',
            'v' => '1.01',
            'search' => [
                'url' => 'http://openapi.yto.net.cn/service/waybill_query/v1/gy6h76',
            ],
        ],
    ],
    'init_date' => '2021-05-17 23:59:59',
    'days' => 2,
];
