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
4f4ee311
Commit
4f4ee311
authored
Mar 26, 2019
by
王召彬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优惠券rpc接口调整参数
parent
7dcfaa9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/Coupon/Lib/CouponInterface.php
+3
-3
No files found.
src/Coupon/Lib/CouponInterface.php
View file @
4f4ee311
...
...
@@ -16,7 +16,7 @@ use Swoft\Core\ResultInterface;
/**
* The interface of coupon service
*
* @method ResultInterface deferCheckCoupon(int $buyerId, int $storeId, int $couponId,
int $itemId
)
* @method ResultInterface deferCheckCoupon(int $buyerId, int $storeId, int $couponId,
array $itemIds
)
* @method ResultInterface deferGetCouponRecvdList(int $buyerId, int $storeId, int $subStoreId = 0, int $itemId = 0)
* @method ResultInterface deferGetDataByCouponId(int $buyerId, int $storeId, int $couponId)
*/
...
...
@@ -40,10 +40,10 @@ interface CouponInterface
* @param integer $buyerId
* @param integer $storeId
* @param integer $couponId
* @param
integer $itemId
* @param
array $itemIds
* @return int|boolen 如果可用返回优惠券的面值,不可用返回false
*/
public
function
checkCoupon
(
int
$buyerId
,
int
$storeId
,
int
$couponId
,
int
$itemId
);
public
function
checkCoupon
(
int
$buyerId
,
int
$storeId
,
int
$couponId
,
array
$itemIds
);
/**
* 更新优惠券状态
...
...
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