Commit d6064f30 by 王召彬

储值卡指定金额退款

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