PurchaseDoneServiceInterface.php 1.03 KB
Newer Older
周智鹏's avatar
周智鹏 committed
1 2 3 4 5 6
<?php


namespace Meibuyu\Micro\Service\Interfaces\Purchase;


王源's avatar
王源 committed
7 8 9 10
/**
 * @deprecated 此接口废弃,在之后的版本会被删除
 * 请引入meibuyu/rpc组件,使用Meibuyu\Rpc\Service\Interfaces\Purchase\PurchaseDoneServiceInterface
 */
周智鹏's avatar
周智鹏 committed
11 12 13 14 15 16 17 18
interface PurchaseDoneServiceInterface
{
    /**
     *通过子订单编号修改采购状态
     * @param array $orderIds 子订单编号 ['3333444','12222']
     * @return mixed
     */
    public function archivePurchase($orderIds);
周智鹏's avatar
周智鹏 committed
19 20 21 22 23 24 25

    /**
     *通过子订单编号通知取消
     * @param array $orderIds 子订单编号 ['3333444','12222']
     * @return mixed
     */
    public function noticeToCancel($orderIds);
周智鹏's avatar
周智鹏 committed
26 27 28

    /**
     * 传输产品规格
周智鹏's avatar
周智鹏 committed
29
     * @param $data ['order_id'=>'子订单编号','order_standard'=>'产品规格']
周智鹏's avatar
周智鹏 committed
30 31 32
     * @return mixed
     */
    public function productStandard($data);
周智鹏's avatar
周智鹏 committed
33 34 35 36 37 38 39 40


    /**
     * 通过子订单编号查询状态
     * @param array $orderIds 子订单编号 ['3333444','12222']
     * @return mixed
     */
    public function getOrderStatus($orderIds);
周智鹏's avatar
周智鹏 committed
41
}