diff --git a/.env.development b/.env.development index 53f0f20..cc1dce9 100644 --- a/.env.development +++ b/.env.development @@ -11,4 +11,6 @@ VITE_WEB_ENV = 'development' VITE_WEB_BASE_API = '/dev-api' # 本地接口 -VITE_API_URL = http://122.51.75.95:6039 +# VITE_API_URL = http://122.51.75.95:6039 + +VITE_API_URL = http://129.211.24.7:6039 diff --git a/src/api/session/index.ts b/src/api/session/index.ts index a62d1f2..04e1f61 100644 --- a/src/api/session/index.ts +++ b/src/api/session/index.ts @@ -18,6 +18,10 @@ export function update_session(data: ChatSessionVo) { return put('/system/session', data); } +export function get_session(id: string) { + return get(`/system/session/${id}`); +} + export function delete_session(ids: string[]) { return del(`/system/session/${ids}`); } diff --git a/src/api/session/types.ts b/src/api/session/types.ts index af19924..797c0de 100644 --- a/src/api/session/types.ts +++ b/src/api/session/types.ts @@ -88,6 +88,10 @@ export interface ChatSessionVo { * 用户id */ userId?: number; + /** + * 创建时间 + */ + createTime?: Date; /** * 自定义的消息前缀图标字段 */ diff --git a/src/components/LoginDialog/index.vue b/src/components/LoginDialog/index.vue index d5a8691..c6b01fb 100644 --- a/src/components/LoginDialog/index.vue +++ b/src/components/LoginDialog/index.vue @@ -122,7 +122,7 @@ function onAfterLeave() { height: 100vh; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(3px); - z-index: 99999; + z-index: 2000; display: flex; align-items: center; justify-content: center; diff --git a/src/components/WelecomeText/index.vue b/src/components/WelecomeText/index.vue index aac9285..26e41be 100644 --- a/src/components/WelecomeText/index.vue +++ b/src/components/WelecomeText/index.vue @@ -1,5 +1,6 @@