From 2767d5e2f41ccf766bf84c58f527b1538426fec7 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 24 九月 2025 17:34:01 +0800
Subject: [PATCH] fix: 附件上传优化

---
 src/api/auth/index.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/auth/index.ts b/src/api/auth/index.ts
index 3437285..79d21ae 100644
--- a/src/api/auth/index.ts
+++ b/src/api/auth/index.ts
@@ -38,8 +38,8 @@
    */
   logout(): Promise<void> {
     return request({
-      url: "/api/v1/auth/logout",
-      method: "DELETE",
+      url: "/logout",
+      method: "POST",
     });
   },
 };

--
Gitblit v1.9.3