From e9e42b621afdf6ac94f5327ee843b32b10a401b4 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 04 八月 2026 17:45:14 +0800
Subject: [PATCH] update
---
frontend/src/api/orders.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/frontend/src/api/orders.js b/frontend/src/api/orders.js
index ca72eaa..061c265 100644
--- a/frontend/src/api/orders.js
+++ b/frontend/src/api/orders.js
@@ -3,4 +3,4 @@
export const getOrders = (params) => http.get('/orders', { params })
export const getOrderDetail = (id) => http.get(`/orders/${id}`)
export const getOrderScenicOptions = () => http.get('/orders/scenic-options')
-export const refundOrder = (id) => http.put(`/orders/${id}/refund`)
+export const refundOrder = (id, refundAmount) => http.put(`/orders/${id}/refund`, { refundAmount })
--
Gitblit v1.7.1