Files
QuestionProject/ai_knowledge_base_v2/apps/user-client/README.md
2026-07-06 17:34:37 +08:00

34 lines
789 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AI 知识库系统 V2 用户端 H5
这是 V2 的用户端 H5技术栈为 Vue 3 + Vite + TypeScript。
## 当前已完成
- 手机端优先的应用壳
- 手机号验证码登录页
- Token 本地保存和退出登录
- 会话抽屉
- 聊天消息列表
- 输入框和发送/停止按钮
- SSE 流式回复解析
- 对接 V2 后端 mock 接口
## 本地启动
```bash
cd ai_knowledge_base_v2/apps/user-client
npm install
cp .env.example .env
npm run dev
```
默认 API 地址为:
`http://127.0.0.1:8100/api`
## 说明
- 当前后端 mock 短信验证码默认为 `123456`
- 若后端未启动,页面仍可预览,但登录和聊天接口会失败。
- 后续需要补 Markdown 渲染增强、异常状态细化、会话重命名入口、移动端真机适配验证。