diff --git a/src/api/doc/space.ts b/src/api/doc/space.ts
index 219160e..2013476 100644
--- a/src/api/doc/space.ts
+++ b/src/api/doc/space.ts
@@ -220,4 +220,29 @@ export function getAiagentList(data?: any){
method: 'post',
data: data
});
+}
+
+/**
+ * 更新会话
+ * @requires key
+ *
+ */
+export function getShareChat(key: string){
+ return request({
+ url: '/aibot/chat/shared/'+key,
+ method: 'get',
+ });
+}
+
+/**
+ * 更新会话
+ * @requires key agentID+chatID+index
+ * @requires data
+ */
+export function newShareChat(data: any){
+ return request({
+ url: '/aibot/chat/share',
+ method: 'post',
+ data: data
+ });
}
\ No newline at end of file
diff --git a/src/router/index.ts b/src/router/index.ts
index 6267e9b..5cd96e8 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -38,6 +38,11 @@ export const constantRoutes: RouteRecordRaw[] = [
component: () => import("@/views/doc/onlyoffice.vue"),
meta: { hidden: true },
},
+ {
+ path: "/agent",
+ component: () => import("@/views/doc/showtext.vue"),
+ meta: { hidden: true },
+ },
{
path: "/",
diff --git a/src/views/doc/agent.vue b/src/views/doc/agent.vue
index b8d70e4..d638872 100644
--- a/src/views/doc/agent.vue
+++ b/src/views/doc/agent.vue
@@ -5,11 +5,11 @@
-->
+
+
+
+
+
恒信高科AI平台
+
+ {{ msg.content }}
+
+
+
+
+
+
+
+
+
+
+
+