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
3c538431
Commit
3c538431
authored
Dec 04, 2019
by
dzhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'agent' into test
parents
e6f67abc
51b2a19f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
4 deletions
+20
-4
src/Order/Lib/OrderInterface.php
+5
-3
src/Transfer/Enum/TransferEnum.php
+4
-1
src/WithdrawCash/Lib/WithdrawCashInterface.php
+11
-0
No files found.
src/Order/Lib/OrderInterface.php
View file @
3c538431
...
@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
...
@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
/**
/**
* order servcie
* order servcie
*
*
* @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 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
,int $agentId=0
);
* @method ResultInterface deferGetOrderDetailBySubId(int $storeId,int $subOrderId,$ifSelf=true,bool $ifExtend=false)
* @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 deferGetOrderDetailByPid(int $storeId,int $pId, $ifSelf=false, $ifExtend=false)
* @method ResultInterface deferGetOrderDetailByMainSn(int $storeId,string $orderSn, $ifSelf=false, $ifExtend=false)
* @method ResultInterface deferGetOrderDetailByMainSn(int $storeId,string $orderSn, $ifSelf=false, $ifExtend=false)
...
@@ -54,6 +54,7 @@ interface OrderInterface
...
@@ -54,6 +54,7 @@ interface OrderInterface
* @param integer $skuId
* @param integer $skuId
* @param integer $subStoreId
* @param integer $subStoreId
* @param integer $couponId
* @param integer $couponId
* @param integer $agentId 代理商Id
* @return mixed
* @return mixed
*/
*/
public
function
createOrder
(
public
function
createOrder
(
...
@@ -71,8 +72,9 @@ interface OrderInterface
...
@@ -71,8 +72,9 @@ interface OrderInterface
int
$goodsPrice
,
int
$goodsPrice
,
string
$message
=
''
,
string
$message
=
''
,
int
$skuId
=
0
,
int
$skuId
=
0
,
int
$subStoreId
=
0
,
int
$subStoreId
=
0
,
int
$couponId
=
0
int
$couponId
=
0
,
int
$agentId
=
0
);
);
/**
/**
* 根据子订单ID查询订单详情
* 根据子订单ID查询订单详情
...
...
src/Transfer/Enum/TransferEnum.php
View file @
3c538431
...
@@ -17,7 +17,9 @@ class TransferEnum
...
@@ -17,7 +17,9 @@ class TransferEnum
const
ORIGIN_FRONTEND
=
1
;
//前台打款
const
ORIGIN_FRONTEND
=
1
;
//前台打款
const
ORIGIN_BACKEND
=
2
;
//
前台
打款
const
ORIGIN_BACKEND
=
2
;
//
后端
打款
const
ORIGIN_WRWD
=
3
;
//万人万店打款
const
ORIGIN_WRWD
=
3
;
//万人万店打款
const
ORIGIN_ENTRUSTED
=
4
;
//托管小程序打款
}
}
\ No newline at end of file
src/WithdrawCash/Lib/WithdrawCashInterface.php
View file @
3c538431
...
@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface;
...
@@ -18,6 +18,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetBuyerAccountListByStoreId(int $storeId,array $buyerIds)
* @method ResultInterface deferGetBuyerAccountListByStoreId(int $storeId,array $buyerIds)
* @method ResultInterface deferGetSellerCommission(array $sellerIds)
* @method ResultInterface deferGetSellerCommission(array $sellerIds)
* @method ResultInterface deferGetSellerFund(array $sellerIds)
* @method ResultInterface deferGetSellerFund(array $sellerIds)
* @method ResultInterface deferGetBuyerDistribution(int $storeId,array $buyerIds)
*/
*/
interface
WithdrawCashInterface
{
interface
WithdrawCashInterface
{
/**
/**
...
@@ -67,4 +68,13 @@ interface WithdrawCashInterface{
...
@@ -67,4 +68,13 @@ interface WithdrawCashInterface{
* @return array
* @return array
*/
*/
public
function
getSellerFund
(
array
$sellerIds
);
public
function
getSellerFund
(
array
$sellerIds
);
/**
* 批量查询指定店铺下分销商钱包
*
* @param integer $storeId
* @param array $buyerIds
* @return array
*/
public
function
getBuyerDistribution
(
int
$storeId
,
array
$buyerIds
);
}
}
\ 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