Commit 1852a0e2 by zhangsong

修改次卡划卡rpc接口

parent ba989916
......@@ -22,7 +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)
* @method ResultInterface deferDeductCard($storeId, $buyerId, $items)
*/
interface TimesCardInterface
{
......@@ -90,13 +90,12 @@ interface TimesCardInterface
/**
* 线下扣卡次数(划卡)
* @param int $storeId
* @param int $buyerId
* @param $userCardId
* @param $goodsId
* @param $storeId
* @param $buyerId
* @param $items
* @return mixed
*/
public function deductCard($storeId, $buyerId, $userCardId, $goodsId);
public function deductCard($storeId, $buyerId, $items);
}
......
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