diff --git a/src/api/superStore/orderShenhe.js b/src/api/superStore/orderShenhe.js index fa773277..38997331 100644 --- a/src/api/superStore/orderShenhe.js +++ b/src/api/superStore/orderShenhe.js @@ -138,7 +138,7 @@ export function refundOrderPartApi(data) { // 订单-退单 export function refundOrderApi(data) { return request({ - url: '/smart-canteen/api/v2/web/order/refund', + url: '/smart-canteen/order/refund/'+data.orderId, method: 'post', headers: { "merchant-id":"378915229716713472", diff --git a/src/api/superStore/superOrder.js b/src/api/superStore/superOrder.js index 05bff840..c927aae7 100644 --- a/src/api/superStore/superOrder.js +++ b/src/api/superStore/superOrder.js @@ -135,7 +135,7 @@ export function refundOrderPartApi(data) { // 订单-退单 export function refundOrderApi(data) { return request({ - url: '/smart-canteen/api/v2/web/order/refund', + url: '/smart-canteen/order/refund/'+data.orderId, method: 'post', headers: { "merchant-id":"378915229716713472", diff --git a/src/views/superstore/superOrder/index.vue b/src/views/superstore/superOrder/index.vue index 26e6c7d6..7c831e63 100644 --- a/src/views/superstore/superOrder/index.vue +++ b/src/views/superstore/superOrder/index.vue @@ -115,7 +115,7 @@ @@ -128,11 +128,11 @@ {{ (scope.row.payableAmount/100).toFixed(2) }} - +