diff --git a/yudao-ui-admin/src/api/shop/rechargeOrder.js b/yudao-ui-admin/src/api/shop/rechargeOrder.js index 6f9dbf5a1..7015f2f8e 100644 --- a/yudao-ui-admin/src/api/shop/rechargeOrder.js +++ b/yudao-ui-admin/src/api/shop/rechargeOrder.js @@ -34,6 +34,14 @@ export function getRechargeOrder(id) { }) } +// 发起退款 +export function refundRechargeOrder(data) { + return request({ + url: '/shop/recharge-order/memberRefund', + method: 'post' + }) +} + // 获得订单分页 export function getRechargeOrderPage(query) { return request({ diff --git a/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue b/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue index a760a087b..3306b3b14 100644 --- a/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue +++ b/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue @@ -66,13 +66,30 @@ - + + + + + + + 发起退款 - 同意退款 @@ -85,7 +102,15 @@