后端:完成退款逻辑

This commit is contained in:
YunaiV
2019-04-27 01:52:24 +08:00
parent 1be40cb195
commit 207fdc1d55
27 changed files with 446 additions and 335 deletions

View File

@@ -2,7 +2,6 @@ package cn.iocoder.mall.order.api;
import cn.iocoder.common.framework.vo.CommonResult;
import cn.iocoder.mall.order.api.dto.OrderReturnApplyDTO;
import cn.iocoder.mall.order.api.dto.OrderReturnCreateDTO;
/**
* 订单退货
@@ -21,4 +20,16 @@ public interface OrderReturnService {
*/
CommonResult orderReturnApply(OrderReturnApplyDTO orderReturnApplyDTO);
/**
* 更新退款成功
*
* 如果成功,则返回 success
* 如果失败,则返回具体原因
*
* @param orderId 订单编号
* @param refundPrice 退款金额
* @return 支付结果
*/
String updateRefundSuccess(String orderId, Integer refundPrice);
}