Commit 7dddfb11 by xmy

feat:外卖

parent 3019280c
......@@ -46,6 +46,7 @@ interface LogisticsInterface
public function getImReceiver($id, $storeId);
/**
* 预下单
* @param $storeId
* @param $buyerId
* @param array $receiver 收货人信息
......@@ -61,5 +62,19 @@ interface LogisticsInterface
* @return mixed
* @throws RpcException
*/
public function preOrder($storeId, $buyerId,array $receiver, $orderSn, $items, $price, $poiSeq, $deliveryCode = null);
public function preOrder($storeId, $buyerId, array $receiver, $orderSn, $items, $price, $poiSeq, $deliveryCode = null);
/**
* 下单
* @param $storeId
* @param $buyerId
* @param array $receiver 收货人信息
* @param $orderSn 订单号
* @param null $deliveryToken 预下单接口返回的参数,配送公司可保证在一段时间内运费不变
* @param $deliveryCode 配送服务代码 不同配送公司自定义, 顺丰和达达不填
* @return mixed
* @throws RpcException
*/
public function order($storeId, $buyerId, array $receiver, $orderSn, $deliveryToken = null, $deliveryCode = null);
}
\ 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