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
24e8c3bb
Commit
24e8c3bb
authored
Aug 07, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
买家分销
parent
c5b063d4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
74 additions
and
0 deletions
+74
-0
src/Buyer/Lib/BuyerDistributionInterface.php
+72
-0
src/BuyerDistribution/Lib/BuyerDistributionInterface.php
+2
-0
No files found.
src/Buyer/Lib/BuyerDistributionInterface.php
0 → 100644
View file @
24e8c3bb
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/7/2
* Time: 13:48
*/
namespace
Hdll\Services\Buyer\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* @method ResultInterface deferAddSellerFreezeMoney(int $storeId,int $money)
* @method ResultInterface deferGetBuyerCommission(int $buyerId)
* @method ResultInterface deferGetSellerFund(int $storeId)
* @method ResultInterface deferSaveBill(string $token,int $order_id,int $buyer_id,int $store_id,string $order_sn,int $money)
* Interface AgencyInterface
* @package App\Lib
*/
interface
BuyerDistributionInterface
{
/**
* 增加卖家冻结金额
*
* @param int $storeId
* @param int $money
* @return mixed
*/
public
function
addSellerFreezeMoney
(
int
$storeId
,
int
$money
);
/**
* 获取买家佣金数据
* @param int $buyerId
* @return mixed
* @author Administrator
*/
public
function
getBuyerCommission
(
int
$buyerId
);
/**
* 获取卖家资金数据
* @param int $storeId
* @return mixed
* @author Administrator
*/
public
function
getSellerFund
(
int
$storeId
);
/**
* 保存账单数据
* @param string $token
* @param int $order_id
* @param int $buyer_id
* @param int $store_id
* @param string $order_sn
* @param int $money
* @return mixed
* @author Administrator
*/
public
function
saveBill
(
string
$token
,
int
$order_id
,
int
$buyer_id
,
int
$store_id
,
string
$order_sn
,
int
$money
);
}
\ No newline at end of file
src/BuyerDistribution/Lib/BuyerDistributionInterface.php
View file @
24e8c3bb
...
...
@@ -9,6 +9,8 @@
namespace
Hdll\Services\BuyerDistribution\Lib
;
use
Swoft\Core\ResultInterface
;
/**
* @method ResultInterface deferAddSellerFreezeMoney(int $storeId,int $money)
* @method ResultInterface deferGetBuyerCommission(int $buyerId)
...
...
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