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
1.0 KiB
1.0 KiB
⚠️ 重要:需要重启服务器
修改内容
- ✅ 添加XML格式支持
- ✅ 更新消息处理逻辑
- ✅ 添加XML内容解析器
重启步骤
-
停止当前服务器
按 Ctrl+C(在运行服务器的终端中) -
重新启动服务器
cd D:\MyCursor\AIclinicalresearch\backend npm run dev -
确认日志 应该看到:
✅ 微信服务号回调控制器已初始化(明文模式) 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! |
重启服务器后,即可在微信公众平台提交配置!