Commit d6064f30 by 王召彬

储值卡指定金额退款

parent 34af0a3b
......@@ -72,15 +72,17 @@ interface RechargeInterface
public function ReturnCardMoney(int $storeId, int $buyerId, int $itemOrderId, string $itemTitle, int $payMoney, int $parentOrderId);
/**
* 修改用户储值卡余额
*
* @param integer $storeId
* @param integer $buyerId
* @param integer $amount 需要增加或减少的金额
* @param integer $type 1:默认 减额度,增消费额度 2:增额度,减消费额度
* @return void
* 储值卡指定金额退款
* @param $storeId
* @param $buyerId
* @param $amount // 退还金额
* @param $refundTitle // 退款标题
* @param $parentOrderId // 主订单
* @param $subOrderId // 子订单
* @return bool
* @throws
*/
public function updateAmount(int $storeId, int $buyerId, int $amount, int $type);
public function refundAmount(int $storeId, int $buyerId, int $amount, $refundTitle, $parentOrderId=0, $subOrderId=0);
/**
* 统计储值卡上架数/总数
......
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