From b685a9159875006c33d981c1c408dae25e6530cd Mon Sep 17 00:00:00 2001
From: jinhhanhan <1683105490@qq.com>
Date: Wed, 10 Dec 2025 11:37:29 +0800
Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E5=8A=A0=E4=BA=86=E6=96=87?=
=?UTF-8?q?=E6=A1=A3=E4=B8=AD=E6=99=BA=E8=83=BD=E5=AE=A2=E6=9C=8D=E8=81=8A?=
=?UTF-8?q?=E5=A4=A9=E5=8A=9F=E8=83=BD=EF=BC=8C=E5=81=A5=E5=BA=B7=E7=B3=BB?=
=?UTF-8?q?=E7=BB=9F=E6=A3=80=E6=B5=8B=EF=BC=8C=E6=B5=81=E5=BC=8F=E8=81=8A?=
=?UTF-8?q?=E5=A4=A9=E6=B5=8B=E8=AF=95=EF=BC=8C=E5=88=9B=E5=BB=BA=E4=BC=9A?=
=?UTF-8?q?=E8=AF=9D=E6=8E=A5=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages_tool/kefu-demo/index.vue | 704 +++++++++++++++++++++++++++++++++
1 file changed, 704 insertions(+)
create mode 100644 pages_tool/kefu-demo/index.vue
diff --git a/pages_tool/kefu-demo/index.vue b/pages_tool/kefu-demo/index.vue
new file mode 100644
index 0000000..6b9de75
--- /dev/null
+++ b/pages_tool/kefu-demo/index.vue
@@ -0,0 +1,704 @@
+
+
+
+
+
+
+
+ 1. 智能客服聊天接口
+
+
+
+
+
+ 回复结果:
+ {{ chatResult }}
+
+
+
+
+
+ 2. 创建新会话接口
+
+
+ 会话信息:
+ 会话ID: {{ conversationInfo.conversationId }}
+ 创建时间: {{ conversationInfo.createdAt }}
+
+
+
+
+
+ 3. 获取会话历史接口
+
+
+
+ 历史记录 ({{ historyData.total }}条):
+
+
+ {{ msg.role }}:
+ {{ msg.content }}
+ {{ msg.created_at }}
+
+
+
+
+
+
+
+ 4. 系统健康检查
+
+
+
+
+
+ 健康检查结果:
+ 状态: {{ healthResult.status }}
+ 检查ID: {{ healthResult.checkId }}
+ 时间: {{ healthResult.timestamp }}
+ 通过检查: {{ healthResult.passed_checks }}/{{ healthResult.total_checks }}
+
+ 组件状态:
+
+ {{ key }}: {{ component.status }}
+ {{ component.message }}
+ 响应时间: {{ component.response_time_ms }}ms
+
+
+
+
+
+
+
+ 5. 获取服务配置信息
+
+
+ 服务配置:
+ 服务名称: {{ serviceInfoResult.serviceInfo?.name }}
+ 服务版本: {{ serviceInfoResult.serviceInfo?.version }}
+ 启用状态: {{ serviceInfoResult.serviceInfo?.enabled ? '已启用' : '未启用' }}
+
+ 可用功能:
+
+ {{ feature }}: {{ enabled ? '✓' : '✗' }}
+
+
+
+ API端点:
+
+ {{ name }}: {{ endpoint }}
+
+
+
+
+
+
+
+ 6. 清除会话历史
+
+
+
+
+
+ 清除结果:
+ 删除消息数: {{ clearResult.deletedMessages }}
+ 删除会话数: {{ clearResult.deletedConversations }}
+
+
+
+
+
+ 7. 流式聊天测试
+
+
+
+
+
+ 流式回复:
+ {{ streamResult }}
+
+
+
+
+
+ 8. 完整服务检查
+
+
+
+
+
+ 9. 服务状态检查(兼容)
+
+
+
+
+
+
+
+
+
\ No newline at end of file