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
ad074115
Commit
ad074115
authored
Nov 30, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金操作:增加唯一标识做幂等
parent
bd752f8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
7 deletions
+12
-7
src/Buyer/Lib/CommissionInterface.php
+12
-7
No files found.
src/Buyer/Lib/CommissionInterface.php
View file @
ad074115
...
...
@@ -19,29 +19,31 @@ interface CommissionInterface
* @param $storeId
* @param $buyerId
* @param $money
* @param string $uniqueId
* @return bool
*/
public
function
reduceBalanceCommission
(
$storeId
,
$buyerId
,
$money
);
public
function
reduceBalanceCommission
(
$storeId
,
$buyerId
,
$money
,
$uniqueId
=
''
);
/**
* 增加可提现金额
*
* @param $storeId
* @param $buyerId
* @param $money
* @param string $uniqueId
* @return bool
*/
public
function
addBalanceCommission
(
$storeId
,
$buyerId
,
$money
);
public
function
addBalanceCommission
(
$storeId
,
$buyerId
,
$money
,
$uniqueId
=
''
);
/**
* 增加可提现金额(仅限于对账服务使用,切记!!!)
*
* @param $storeId
* @param $buyerId
* @param $money
* @param string $orderSn
* @param string $uniqueId
* @return bool
*/
public
function
addBalanceCommissionCompare
(
$storeId
,
$buyerId
,
$money
,
$orderSn
=
''
);
public
function
addBalanceCommissionCompare
(
$storeId
,
$buyerId
,
$money
,
$orderSn
=
''
,
$uniqueId
=
''
);
/**
* 增加累计现金额
...
...
@@ -49,9 +51,10 @@ interface CommissionInterface
* @param $storeId
* @param $buyerId
* @param $money
* @param string $uniqueId
* @return bool
*/
public
function
addTotalCommission
(
$storeId
,
$buyerId
,
$money
);
public
function
addTotalCommission
(
$storeId
,
$buyerId
,
$money
,
$uniqueId
=
''
);
/**
* 增加冻结金额
...
...
@@ -59,8 +62,9 @@ interface CommissionInterface
* @param int $storeId
* @param int $orderId
* @param string $orderSn
* @param string $uniqueId
* @return mixed
*/
public
function
addExpectCommission
(
int
$storeId
,
int
$orderId
,
$orderSn
=
''
);
public
function
addExpectCommission
(
int
$storeId
,
int
$orderId
,
$orderSn
=
''
,
$uniqueId
=
''
);
}
\ 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