From 912cc1eb8fd0a317fd0ee68fb67f0a02b37f6180 Mon Sep 17 00:00:00 2001 From: hailin Date: Sun, 28 Dec 2025 05:03:34 -0800 Subject: [PATCH] =?UTF-8?q?fix(admin-web):=20=E4=BF=AE=E5=A4=8D=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E7=BB=B4=E6=8A=A4=E7=8A=B6=E6=80=81HTTP=E6=96=B9?= =?UTF-8?q?=E6=B3=95=E4=B8=8D=E5=8C=B9=E9=85=8D=E9=97=AE=E9=A2=98=20(PATCH?= =?UTF-8?q?=E2=86=92PUT)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/admin-web/src/services/maintenanceService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/admin-web/src/services/maintenanceService.ts b/frontend/admin-web/src/services/maintenanceService.ts index ccfffb73..b3adb636 100644 --- a/frontend/admin-web/src/services/maintenanceService.ts +++ b/frontend/admin-web/src/services/maintenanceService.ts @@ -90,7 +90,7 @@ export const maintenanceService = { * 切换维护配置激活状态 */ async toggleMaintenance(id: string, isActive: boolean): Promise { - return apiClient.patch(API_ENDPOINTS.MAINTENANCE.TOGGLE(id), { isActive }); + return apiClient.put(API_ENDPOINTS.MAINTENANCE.TOGGLE(id), { isActive }); }, /**