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
f62e21f3
Commit
f62e21f3
authored
Nov 26, 2019
by
王洁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券相关Rpc
parent
7c98ac07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
src/MemberCard/Lib/MemberCardInterface.php
+24
-2
No files found.
src/MemberCard/Lib/MemberCardInterface.php
View file @
f62e21f3
...
...
@@ -21,6 +21,9 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferGetOrder(int $storeId,int $id)
* @method ResultInterface deferGetOrderBySn(int $storeId,string $sn)
* @method ResultInterface deferIfUserGetCard(int $storeId,int $userId)
* @method ResultInterface deferGetCouponDetail(int $storeId ,int $couponId)
* @method ResultInterface deferSetCouponStatus(int $storeId,int $couponId,int $status)
*
*/
/**
* The interface of demo service
...
...
@@ -41,7 +44,7 @@ interface MemberCardInterface
/**
* 支付订单
* 支付订单
(H5快速买单)
* @param integer $storeId
* @param string $orderSn
* @param integer $payStatus
...
...
@@ -71,7 +74,26 @@ interface MemberCardInterface
*
* @param integer $storeId
* @param integer $userId
* @return
void
* @return
bool
*/
public
function
ifUserGetCard
(
int
$storeId
,
int
$userId
);
/**
* 查询优惠券详细信息
*
* @param integer $storeId
* @param integer $couponId
* @return void
*/
public
function
getCouponDetail
(
int
$storeId
,
int
$couponId
);
/**
* 根据订单状态更改 优惠券的使用的相关状态
*
* @param integer $storeId
* @param integer $couponId
* @param integer $status
* @return bool
*/
public
function
setCouponStatus
(
int
$storeId
,
int
$couponId
,
int
$status
);
}
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