From 4ae7bb8dd02a902f44460c40f84b177b0170fe3a Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期六, 17 八月 2024 15:50:32 +0800
Subject: [PATCH] 智能体和agent新建会话名称bug修改

---
 src/api/user.ts |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/api/user.ts b/src/api/user.ts
index d77dd4a..6a0a01c 100644
--- a/src/api/user.ts
+++ b/src/api/user.ts
@@ -11,11 +11,12 @@
   token: string;
 }
 export function login(data: LoginData) {
-  return axios.post<LoginRes>('/v1/user/login', data);
+  // return axios.post<LoginRes>('/v1/user/login', data);
+  return axios.post<LoginRes>('/base/login', data);
 }
 
 export function logout() {
-  return axios.post<LoginRes>('/api/user/logout');
+  return axios.post<LoginRes>('/base/logout');
 }
 
 export function getUserInfo() {

--
Gitblit v1.8.0