Commit 2123b286 by zhangsong

次卡储值卡划卡rpc修改

parent 1852a0e2
......@@ -20,7 +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, $message)
* @method ResultInterface deferDeductMoney($storeId, $buyerId, $name, $phone, $money, $message)
*/
interface RechargeInterface
{
......@@ -94,11 +94,13 @@ interface RechargeInterface
* 线下扣款(划卡)
* @param int $storeId
* @param int $buyerId
* @param $name
* @param $phone
* @param $money
* @param $message
* @return mixed
*/
public function deductMoney($storeId, $buyerId, $money, $message);
public function deductMoney($storeId, $buyerId, $name, $phone, $money, $message);
}
......
......@@ -92,10 +92,12 @@ interface TimesCardInterface
* 线下扣卡次数(划卡)
* @param $storeId
* @param $buyerId
* @param $name
* @param $phone
* @param $items
* @return mixed
*/
public function deductCard($storeId, $buyerId, $items);
public function deductCard($storeId, $buyerId, $name, $phone, $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