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
d92e379e
Commit
d92e379e
authored
Apr 18, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify
parent
9763d6cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
32 deletions
+25
-32
src/Order/Lib/OrderInterface.php
+25
-32
No files found.
src/Order/Lib/OrderInterface.php
View file @
d92e379e
...
...
@@ -13,18 +13,18 @@ namespace Hdll\Services\Order\Lib;
use
Swoft\Core\ResultInterface
;
/**
*
The interface of demo servic
e
*
order servci
e
*
* @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 deferUpdateMainOrderByPid(int $storeId,int $pId,array $mainData,array $subData=[])
* @method ResultInterface deferUpdateInfoById(int $storeId,int $orderId, array $updateInfo)
* @method ResultInterface deferUpdateInfoByIds(int $storeId,array $orderIds, array $updateInfo)
* @method ResultInterface defer
CollectionClose(int $storeId, int $orderId
)
* @method ResultInterface defer
GetSubOrderListBySubIds(int $storeId,array $subIds
)
* @method ResultInterface defer
UpdateInfoByPids(int $storeId,array $pIds,array $updateInfo
)
* @method ResultInterface defer
UpdateMainOrderByPid(int $storeId,int $pId,array $mainData,array $subData=[]
)
* @method ResultInterface deferUnconfirmedCount(int $storeId)
* @method ResultInterface deferGetSubOrderListBySubIds(int $storeId,array $subIds)
*/
interface
OrderInterface
{
...
...
@@ -99,24 +99,34 @@ interface OrderInterface
public
function
getOrderDetailByMainSn
(
int
$storeId
,
string
$orderSn
,
$ifSelf
=
false
,
$ifExtend
=
false
);
/**
* 根据订单ID更新子订单信息
* 根据
子
订单ID更新子订单信息
*
* @param integer $storeId
* @param integer $
order
Id
* @param integer $
sub
Id
* @param array $updateInfo
* @return
mixed
* @return
int
*/
public
function
updateInfoById
(
int
$storeId
,
int
$
order
Id
,
array
$updateInfo
);
public
function
updateInfoById
(
int
$storeId
,
int
$
sub
Id
,
array
$updateInfo
);
/**
*
批量更新
*
根据子订单ID批量更新子订单信息
*
* @param int $storeId
* @param array $
order
Ids
* @param array $
sub
Ids
* @param array $updateInfo
* @return
mixed
* @return
int
*/
public
function
updateInfoByIds
(
int
$storeId
,
array
$orderIds
,
array
$updateInfo
);
public
function
updateInfoByIds
(
int
$storeId
,
array
$subIds
,
array
$updateInfo
);
/**
* 根据主订单ID批量更新子订单信息
*
* @param integer $storeId
* @param array $pIds
* @param array $updateInfo
* @return int
*/
public
function
updateInfoByPids
(
int
$storeId
,
array
$pIds
,
array
$updateInfo
);
/**
* 根据主订单ID更新订单信息
...
...
@@ -128,25 +138,7 @@ interface OrderInterface
* @return bool
*/
public
function
updateMainOrderByPid
(
int
$storeId
,
int
$pId
,
array
$mainData
,
array
$subData
=
[]);
/**
* 退款成功
*
* @param int $storeId
* @param array $orderInfo
* @return mixed
*/
public
function
refundSuccess
(
int
$storeId
,
array
$orderInfo
);
/**
* 拼团关闭订单,含退款
*
* @param int $storeId
* @param int $orderId
* @return mixed
*/
public
function
collectionClose
(
int
$storeId
,
int
$orderId
);
/**
* 获取未入账统计
* @param int $storeId
...
...
@@ -159,7 +151,7 @@ interface OrderInterface
*
* @param integer $storeId
* @param array $subIds
* @return
void
* @return
array
*/
public
function
getSubOrderListBySubIds
(
int
$storeId
,
array
$subIds
);
}
\ 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