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
4bab6a85
Commit
4bab6a85
authored
Mar 29, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'xmy' of
http://git.dev.2b3.cn/tencent/services
into xmy
parents
11e0de1f
15bc4bac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
src/Order/Lib/OrderInterface.php
+11
-10
No files found.
src/Order/Lib/OrderInterface.php
View file @
4bab6a85
...
...
@@ -18,7 +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 deferGet
SubOrderBySubId(int $storeId, int $subOrderId
)
* @method ResultInterface deferGet
OrderDetailByMainSn(int $storeId,string $orderSn, $ifSelf=false, $ifExtend=false
)
*
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
* @method ResultInterface deferGetSimpleList($storeId, $condition, $fields = ['*'])
...
...
@@ -70,14 +70,6 @@ interface OrderInterface
int
$subStoreId
=
0
,
int
$couponId
=
0
);
/**
* 根据子订单ID只查询子订单信息
*
* @param integer $storeId 店铺ID
* @param integer $subOrderId 子订单ID
* @return array
*/
public
function
getSubOrderBySubId
(
int
$storeId
,
int
$subOrderId
);
/**
* 根据子订单ID查询订单详情
*
...
...
@@ -98,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