Files
AIclinicalresearch/backend/RESTART_SERVER_NOW.md
HaHafeng 4088275290 fix(pkb): fix create KB and upload issues - remove simulated upload, fix department mapping, add upload modal
Fixed issues:
- Remove simulateUpload function from DashboardPage Step 3
- Map department to description field when creating KB
- Add upload modal in WorkspacePage knowledge assets tab
- Fix DocumentUpload import path (../../stores to ../stores)

Known issue: Dify API validation error during document upload (file uploaded but DB record failed, needs investigation)

Testing: KB creation works, upload dialog opens correctly
2026-01-13 13:17:20 +08:00

54 lines
1.0 KiB
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.
# ⚠️ 重要:需要重启服务器
## 修改内容
- ✅ 添加XML格式支持
- ✅ 更新消息处理逻辑
- ✅ 添加XML内容解析器
## 重启步骤
1. **停止当前服务器**
```
按 Ctrl+C在运行服务器的终端中
```
2. **重新启动服务器**
```powershell
cd D:\MyCursor\AIclinicalresearch\backend
npm run dev
```
3. **确认日志**
应该看到:
```
✅ 微信服务号回调控制器已初始化(明文模式)
Registered route: GET /wechat/patient/callback-plain (明文模式)
Registered route: POST /wechat/patient/callback-plain (明文模式, XML)
```
## 微信公众平台配置
| 配置项 | 值 |
|--------|-----|
| **URL** | `https://devlocal.xunzhengyixue.com/wechat/patient/callback-plain` |
| **Token** | `IitPatientWechat2026JanToken` |
| **消息加解密方式** | **明文模式** |
| **数据格式** | **XML** ⚠️ 必须选择XML |
---
**重启服务器后,即可在微信公众平台提交配置!**