LogisticsServiceInterface.php 819 Bytes
Newer Older
1 2 3 4 5
<?php


namespace Meibuyu\Micro\Service\Interfaces\Logistics;

王源's avatar
王源 committed
6 7 8 9
/**
 * @deprecated 此接口废弃,在之后的版本会被删除
 * 请引入meibuyu/rpc组件,使用Meibuyu\Rpc\Service\Interfaces\Logistics\LogisticsServiceInterface
 */
10 11 12 13
interface LogisticsServiceInterface
{
    /**
     * 将物流单号推送到物流中心,物流中心会时刻监视运单变化实时推送给订阅模块
14
     * @param string $module 模块名称
jiangkebao's avatar
jiangkebao committed
15
     * @param array $logisticsInfo 物流公司信息 $logisticsInfo = [['logistics_code' => '', 'logistics_no' => '']];
16 17
     * @return mixed
     */
jiangkebao's avatar
jiangkebao committed
18

19
    public function push($module,$logisticsInfo);
20 21 22

    /**
     * 根据物流单号查询物流信息
jiangkebao's avatar
jiangkebao committed
23
     * @param array $logisticsNo 物流订单号
24 25 26
     * @return mixed
     */
    public function logisticsInfo($logisticsNo);
27
}