Commit 1c927940 by 王洁

Merge branch 'coupon-membercard' into test

parents 6c6d0c55 d977dd19
......@@ -23,7 +23,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferIfUserGetCard(int $storeId,int $userId,int $escrow)
* @method ResultInterface deferGetUserCouponDetail(int $storeId ,int $couponId)
* @method ResultInterface deferSetUserCouponStatus(int $storeId,int $couponId,int $status)
*
* @method ResultInterface deferGetUserValidCouponNum(int $storeId,int $escrow,int $userId)
*/
/**
* The interface of demo service
......@@ -97,4 +97,14 @@ interface MemberCardInterface
* @return bool
*/
public function setUserCouponStatus(int $storeId,int $couponId,int $status);
/**
* 获取用户未失效优惠券数量
*
* @param integer $storeId
* @param integer $escrow
* @param integer $userId
* @return int
*/
public function getUserValidCouponNum(int $storeId,int $escrow,int $userId);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment