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
71ac02e4
Commit
71ac02e4
authored
Mar 27, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify OrderInterface
parent
643d07c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
2 deletions
+22
-2
src/Order/Lib/OrderInterface.php
+22
-2
No files found.
src/Order/Lib/OrderInterface.php
View file @
71ac02e4
...
...
@@ -16,7 +16,9 @@ use Swoft\Core\ResultInterface;
* The interface of demo service
*
* @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 deferGetOrderInfo(int $storeId,int $orderId)
* @method ResultInterface deferGetOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=false,bool $ifExtend=true)
* @method ResultInterface deferGetOrderDetailByPid(int $storeId,int $pId,bool $ifExtend=true)
*
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
* @method ResultInterface deferGetSimpleList($storeId, $condition, $fields = ['*'])
* @method ResultInterface deferUpdateInfoByIds(int $storeId,array $orderIds, array $updateInfo)
...
...
@@ -68,7 +70,25 @@ interface OrderInterface
int
$couponId
=
0
);
public
function
getOrderInfo
(
int
$storeId
,
int
$orderId
);
/**
* 根据子订单ID查询订单详情
*
* @param integer $storeId 店铺ID
* @param integer $subOrderId 子订单ID
* @param boolean $ifSelf 子订单是否只有自己
* @param boolean $ifExtend 是否涵带附加信息(如门店信息、上级信息等)
* @return array
*/
public
function
getOrderDetailBySubId
(
int
$storeId
,
int
$subOrderId
,
$ifSelf
=
false
,
bool
$ifExtend
=
true
);
/**
* 根据主订单ID查询订单详情
*
* @param integer $storeId 店铺ID
* @param integer $pId 主订单ID
* @param boolean $ifExtend 是否涵带附加信息(如门店信息、上级信息等)
* @return array
*/
public
function
getOrderDetailByPid
(
int
$storeId
,
int
$pId
,
bool
$ifExtend
=
true
);
public
function
getOrderInfoBySn
(
int
$storeId
,
string
$orderSn
,
array
$consigneeFields
=
[],
array
$itemFields
=
[]);
...
...
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