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
858f970c
Commit
858f970c
authored
Aug 07, 2018
by
xmy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
卖家钱包
parent
5b2e77b0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
15 deletions
+21
-15
src/Seller/Lib/SellerFundInterface.php
+9
-15
src/SellerDistribution/Lib/SellerDistributionInterface.php
+12
-0
No files found.
src/Seller/Lib/SellerFundInterface.php
View file @
858f970c
...
...
@@ -12,31 +12,24 @@ use Swoft\Core\ResultInterface;
/**
*
* @method ResultInterface deferWithdraw($sellerId, $money)
* @method ResultInterface deferWithdrawFail($sellerId, $money)
* @method ResultInterface deferGetFund($sellerId)
* Interface SellerInterface
* @package App\Lib
*/
interface
SellerFundInterface
{
/**
* 提现
* @param $sellerId
* @param $money (分)
* @return mixed
* @author Administrator
*/
public
function
withdraw
(
$sellerId
,
$money
);
/**
*
提现失败
*
* @param $sellerId
* @param $money (分)
* @return mixed
* totalFund 累计资金
* balanceFund 可提现金额
* commissionFund 需要支付的佣金
* expectFund 冻结金额
* totalWithdraw 累计提现
* @author Administrator
*/
public
function
withdrawFail
(
$sellerId
,
$money
);
public
function
getFund
(
$sellerId
);
}
\ No newline at end of file
src/SellerDistribution/Lib/SellerDistributionInterface.php
View file @
858f970c
...
...
@@ -10,6 +10,7 @@ use Swoft\Core\ResultInterface;
/**
* @method ResultInterface deferSaveBill($orderId, $sellerId, $money)
* @method ResultInterface deferGetCommission($sellerId)
* Interface SellerDistributionInterface
* @package App\Lib
*/
...
...
@@ -28,4 +29,14 @@ interface SellerDistributionInterface{
*/
public
function
saveBill
(
$orderId
,
$sellerId
,
$money
);
/**
* 获取佣金信息
* @param $sellerId
* @return mixed
* totalCommission 累计佣金
* balanceCommission 可提现佣金
* @author Administrator
*/
public
function
getCommission
(
$sellerId
);
}
\ 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