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
2f814bbd
Commit
2f814bbd
authored
Apr 29, 2019
by
xmy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:分销金额
parent
39e365b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
12 deletions
+26
-12
src/SellerDistribution/Lib/SellerDistributionInterface.php
+26
-12
No files found.
src/SellerDistribution/Lib/SellerDistributionInterface.php
View file @
2f814bbd
...
...
@@ -5,22 +5,25 @@
* Date: 2018/7/25
* Time: 14:00
*/
namespace
Hdll\Services\SellerDistribution\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* @method ResultInterface deferSaveBill($orderId, $sellerId, $money)
* @method ResultInterface deferGetCommission($sellerId)
* @method ResultInterface deferAddBalance($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferReduceBalance($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferListByOrderId($storeId, $orderId,$sellerId)
* @method ResultInterface deferAddTotal($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferRefundAddBalance($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferAddBalance($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferReduceBalance($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferListByOrderId($storeId, $orderId,
$sellerId)
* @method ResultInterface deferAddTotal($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferRefundAddBalance($sellerId, $money, $orderSn
=
'')
* @method ResultInterface deferCountVip($storeId, $sellerId)
* Interface SellerDistributionInterface
* @package App\Lib
*/
interface
SellerDistributionInterface
{
interface
SellerDistributionInterface
{
/**
...
...
@@ -53,7 +56,7 @@ interface SellerDistributionInterface{
* @return mixed
* @author Administrator
*/
public
function
addBalance
(
$sellerId
,
$money
,
$orderSn
=
''
);
public
function
addBalance
(
$sellerId
,
$money
,
$orderSn
=
''
);
/**
* 减少佣金
...
...
@@ -62,7 +65,7 @@ interface SellerDistributionInterface{
* @return mixed
* @author Administrator
*/
public
function
reduceBalance
(
$sellerId
,
$money
,
$orderSn
=
''
);
public
function
reduceBalance
(
$sellerId
,
$money
,
$orderSn
=
''
);
/**
...
...
@@ -73,7 +76,7 @@ interface SellerDistributionInterface{
* @return mixed
* @author Administrator
*/
public
function
listByOrderId
(
$storeId
,
$orderId
,
$sellerId
);
public
function
listByOrderId
(
$storeId
,
$orderId
,
$sellerId
);
/**
* 更细对账表
...
...
@@ -83,7 +86,7 @@ interface SellerDistributionInterface{
* @return mixed
* @author Administrator
*/
public
function
updateBill
(
$storeId
,
$id
,
$balanceState
);
public
function
updateBill
(
$storeId
,
$id
,
$balanceState
);
/**
* 增加累计提现
...
...
@@ -92,7 +95,7 @@ interface SellerDistributionInterface{
* @return mixed
* @author Administrator
*/
public
function
addTotal
(
$sellerId
,
$money
,
$orderSn
=
''
);
public
function
addTotal
(
$sellerId
,
$money
,
$orderSn
=
''
);
/**
...
...
@@ -102,7 +105,7 @@ interface SellerDistributionInterface{
* @return mixed
* @author Administrator
*/
public
function
refundAddBalance
(
$sellerId
,
$money
,
$orderSn
=
''
);
public
function
refundAddBalance
(
$sellerId
,
$money
,
$orderSn
=
''
);
/**
...
...
@@ -113,4 +116,14 @@ interface SellerDistributionInterface{
* @author Administrator
*/
public
function
countVip
(
$storeId
,
$sellerId
);
/**
* 统计所有分销金额
* @param array $storeIds
* @return mixed
* @author work
*/
public
function
sumViewMoneyByStoreIds
(
array
$storeIds
);
}
\ 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