Commit ba989916 by zhangsong

次卡rpc划卡扣次数

parent dcb41fbc
......@@ -22,6 +22,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface defergetTimesCardUserCardInfo(int $storeId, int $goodsId)
* @method ResultInterface deferStatisNum(int $storeId)
* @method ResultInterface deferValidNum(int $storeId, int $buyerId)
* @method ResultInterface deferDeductCard($storeId, $buyerId, $userCardId, $goodsId)
*/
interface TimesCardInterface
{
......@@ -86,6 +87,16 @@ interface TimesCardInterface
* @return mixed
*/
public function validNum(int $storeId, int $buyerId);
/**
* 线下扣卡次数(划卡)
* @param int $storeId
* @param int $buyerId
* @param $userCardId
* @param $goodsId
* @return mixed
*/
public function deductCard($storeId, $buyerId, $userCardId, $goodsId);
}
......
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