Commit 3019280c by xmy

feat:外卖

parent 6ea0cb81
......@@ -46,18 +46,20 @@ interface LogisticsInterface
public function getImReceiver($id, $storeId);
/**
* @param $storeId
* @param $buyerId
* @param $orderSn 订单号
* @param $items 商品信息
* [
* ['name'=>'商品名称','image'=>'shang_pin_tu_pian'],
* ['name'=>'商品名称','image'=>'shang_pin_tu_pian'],
* ]
* @param $price 商品总价
* @param $poiSeq 流水号
* @param $deliveryCode 配送服务代码 不同配送公司自定义, 顺丰和达达不填
* @param $storeId
* @param $buyerId
* @param array $receiver 收货人信息
* @param $orderSn 订单号
* @param $items 商品信息
* [
* ['name'=>'商品名称','image'=>'shang_pin_tu_pian'],
* ['name'=>'商品名称','image'=>'shang_pin_tu_pian'],
* ]
* @param $price 商品总价
* @param $poiSeq 流水号
* @param $deliveryCode 配送服务代码 不同配送公司自定义, 顺丰和达达不填
* @return mixed
* @throws RpcException
*/
public function preOrder($storeId, $buyerId, $orderSn, $items, $price, $poiSeq, $deliveryCode = null);
public function preOrder($storeId, $buyerId,array $receiver, $orderSn, $items, $price, $poiSeq, $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