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 d8b780abb..d862c45a2 100644 --- a/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue +++ b/yudao-ui-admin/src/views/shop/rechargeOrder/index.vue @@ -62,13 +62,30 @@ - + + + + + + + 发起退款 - 同意退款 @@ -81,7 +98,15 @@