From 43e4b7f1bf6caae8021b5987739b09fd23204448 Mon Sep 17 00:00:00 2001
From: yinbangzhong <zhongbangyin@126.com>
Date: 星期二, 27 八月 2024 11:45:16 +0800
Subject: [PATCH] set user dept

---
 src/api/session.ts |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/api/session.ts b/src/api/session.ts
index e7ab8ab..70d0b9e 100644
--- a/src/api/session.ts
+++ b/src/api/session.ts
@@ -20,7 +20,7 @@
 // 鍒犻櫎浼氳瘽
 export function deleteSessionApi(conversation_ids: string[]) {
   return axios.post<ISessionListResult>(
-    '/api/conversation/del?modeltype=localragflow',
+    '/api/v1/conversation/rm?modeltype=localragflow',
     { conversation_ids }
   );
 }
@@ -61,4 +61,9 @@
     },
   };
   return axios.post('/api/v1/document/upload_without_kb', params, config);
+}
+
+// 鑾峰彇瑙f瀽鏂规硶鍒楄〃
+export function getParseMethodsListApi() {
+  return axios.get<ISessionListResult>('/api/v1/user/parse-methods');
 }
\ No newline at end of file

--
Gitblit v1.8.0