Commit f8d40a0a by zhangsong

添加储值卡顾客划卡rpcjiek

parent b5d66f42
......@@ -20,6 +20,7 @@ use Swoft\Core\ResultInterface;
* @method ResultInterface deferReturnCardMoney(int $storeId,int $buyerId,int $itemOrderId,string $itemTitle,int $payMoney, int $parentOrderId)
* @method ResultInterface deferStatisNum(int $storeId)
* @method ResultInterface deferGetRecharge(int $storeId, int $buyerId)
* @method ResultInterface deferDeductMoney($storeId, $buyerId, $money)
*/
interface RechargeInterface
{
......@@ -88,6 +89,15 @@ interface RechargeInterface
* @return mixed
*/
public function getRecharge(int $storeId, int $buyerId);
/**
* 线下扣款(划卡)
* @param int $storeId
* @param int $buyerId
* @param $money
* @return mixed
*/
public function deductMoney($storeId, $buyerId, $money);
}
......
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