Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tencent
services
Commits
7dddfb11
Commit
7dddfb11
authored
Jun 29, 2020
by
xmy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:外卖
parent
3019280c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletions
+17
-1
src/Logistics/Lib/LogisticsInterface.php
+17
-1
No files found.
src/Logistics/Lib/LogisticsInterface.php
View file @
7dddfb11
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment