Commit f6071107 authored by jiangkebao's avatar jiangkebao

Merge branch 'purchase_rpc' into test

parents 8c5e67ab e1347041
......@@ -60,5 +60,28 @@ interface SubOrderServiceInterface
public function getBySourceSite($source): array;
/**
* 订单采购完成 修改子订单信息 ---1688采购系统使用
* @param $data //修改参数数组(二维数组)
* 参数字段:$data = [
* 'sub_order_no'=>[oa子订单编号1,oa子订单编号2],
* 'data' => [
* 'supplier_name'=>供应商,
* 'purchase_price'=>采购总价,
* 'platform_order'=>'采购平台订单号',
* 'domestic_logistics_no'=>物流单号,
* 'domestic_logistics_price'=>物流价格
* ],
* ]
* @return bool
*/
public function purchaseCompleted($data): bool;
/**
* 1688采购异常订单 修改OA子订单状态
* @param $orderId //oa子订单id
* @param $errorCode //异常信息 1 取消 2其他
* @return array
*/
public function purchaseError($orderId,$errorCode):array ;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment