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
15bc4bac
Commit
15bc4bac
authored
Mar 29, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add getOrderDetailByMainSn
parent
346d775d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
src/Order/Lib/OrderInterface.php
+11
-1
No files found.
src/Order/Lib/OrderInterface.php
View file @
15bc4bac
...
...
@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferCreateOrder(int $buyerId,int $storeId,int $consigneeId,int $itemId,int $selectedNum,int $orderType,int $activityPrice,string $goodsName,string $goodsImage,string $activityName,int $goodsId,int $goodsPrice,string $message='',int $skuId=0,int $subStoreId=0,int $couponId=0);
* @method ResultInterface deferGetOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=true,bool $ifExtend=false)
* @method ResultInterface deferGetOrderDetailByPid(int $storeId,int $pId, $ifSelf=false, $ifExtend=false)
* @method ResultInterface deferGetOrderDetailByMainSn(int $storeId,string $orderSn, $ifSelf=false, $ifExtend=false)
*
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
* @method ResultInterface deferGetSimpleList($storeId, $condition, $fields = ['*'])
...
...
@@ -89,7 +90,16 @@ interface OrderInterface
*/
public
function
getOrderDetailByPid
(
int
$storeId
,
int
$pId
,
$ifSelf
=
false
,
$ifExtend
=
false
);
public
function
getOrderInfoBySn
(
int
$storeId
,
string
$orderSn
,
array
$consigneeFields
=
[],
array
$itemFields
=
[]);
/**
* 通过订主单orderSn获取订单信息
*
* @param integer $storeId
* @param string $orderSn
* @param boolean $ifSelf 是否只有主订单信息
* @param boolean $ifExtend 是否涵带附加信息(如门店信息、上级信息等)
* @return array
*/
public
function
getOrderDetailByMainSn
(
int
$storeId
,
string
$orderSn
,
$ifSelf
=
false
,
$ifExtend
=
false
);
public
function
updateInfoById
(
int
$storeId
,
int
$orderId
,
array
$updateInfo
);
...
...
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