feat: 接入聊天历史界面与外链会话恢复
- 新增管理端与用户端聊天历史接口和页面 - 外链聊天支持访问令牌登录、身份保活与当前会话恢复 - 聊天执行链路切到统一 runtime 与 chatlog 查询接口
This commit is contained in:
@@ -92,20 +92,6 @@ const coreRoutes: RouteRecordRaw[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
name: 'ChatHistoryShare',
|
||||
path: '/share/:id',
|
||||
component: () => import('#/views/chatHistory/share/index.vue'),
|
||||
meta: {
|
||||
title: '分享',
|
||||
noBasicLayout: true,
|
||||
hideInMenu: true,
|
||||
hideInTab: true,
|
||||
hideInBreadcrumb: true,
|
||||
ignoreAccess: true,
|
||||
loaded: true,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
export { coreRoutes, fallbackNotFoundRoute };
|
||||
|
||||
@@ -28,15 +28,20 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'svg:chat-history',
|
||||
order: 80,
|
||||
title: '聊天记录',
|
||||
title: '聊天历史',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ChatHistoryDetails',
|
||||
path: '/chatHistory/:id',
|
||||
component: () => import('#/views/chatHistory/details/index.vue'),
|
||||
redirect: (to) => ({
|
||||
path: '/chatHistory',
|
||||
query: {
|
||||
sessionId: String(to.params.id || ''),
|
||||
},
|
||||
}),
|
||||
meta: {
|
||||
title: '聊天记录',
|
||||
title: '聊天历史',
|
||||
hideInMenu: true,
|
||||
hideInTab: true,
|
||||
hideInBreadcrumb: true,
|
||||
|
||||
Reference in New Issue
Block a user