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
9a40b592
Commit
9a40b592
authored
Dec 31, 2019
by
王洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
getBonusConvertMoney
parent
eb72dd38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/MemberCard/Lib/MemberCardInterface.php
+11
-0
No files found.
src/MemberCard/Lib/MemberCardInterface.php
View file @
9a40b592
...
...
@@ -27,6 +27,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferIfCouponSuitOrder(int $storeId,int $userId,int $couponId,array $goods)
* @method ResultInterface deferUpMembercardBonus(int $storeId,int $escrow,int $userId,int $orderId,int $type,int $money=0,int $bonus=0)
* @method ResultInterface deferUpMembercardBalance(int $storeId,int $escrow,int $userId,int $balance)
* @method ResultInterface deferGetBonusConvertMoney(int $storeId,int $userId,int $bonusToUse)
*/
/**
* The interface of demo service
...
...
@@ -146,4 +147,14 @@ interface MemberCardInterface
* @return bool
*/
public
function
upMembercardBalance
(
int
$storeId
,
int
$escrow
,
int
$userId
,
int
$balance
);
/**
* 下单时 查询 积分能抵扣的金额
*
* @param integer $storeId
* @param integer $userId
* @param integer $bonusToUse
* @return int //返回0代表非法请求不可抵扣
*/
public
function
getBonusConvertMoney
(
int
$storeId
,
int
$userId
,
int
$bonusToUse
);
}
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