feat(iit-manager): Day 3 企业微信集成开发完成

- 新增WechatService(企业微信推送服务,支持文本/卡片/Markdown消息)
- 新增WechatCallbackController(异步回复模式,5秒内响应)
- 完善iit_quality_check Worker(调用WechatService推送通知)
- 新增企业微信回调路由(GET验证+POST接收消息)
- 实现LLM意图识别(query_weekly_summary/query_patient_info等)
- 安装依赖:@wecom/crypto, xml2js
- 更新开发记录文档和MVP开发计划

技术要点:
- 使用异步回复模式规避企业微信5秒超时限制
- 使用@wecom/crypto官方库处理XML加解密
- 使用setImmediate实现后台异步处理
- 支持主动推送消息返回LLM处理结果
- 完善审计日志记录(WECHAT_NOTIFICATION_SENT/WECHAT_INTERACTION)

相关文档:
- docs/03-业务模块/IIT Manager Agent/06-开发记录/Day3-企业微信集成开发完成记录.md
- docs/03-业务模块/IIT Manager Agent/04-开发计划/最小MVP闭环开发计划.md
- docs/03-业务模块/IIT Manager Agent/00-模块当前状态与开发指南.md
This commit is contained in:
2026-01-03 09:39:39 +08:00
parent 36ce1bbcb2
commit 5f089516cb
144 changed files with 144 additions and 0 deletions

View File

@@ -873,5 +873,6 @@ ACR镜像仓库

View File

@@ -1362,3 +1362,4 @@ SAE应用配置:

View File

@@ -1178,3 +1178,4 @@ docker exec -e PGPASSWORD="密码" ai-clinical-postgres psql -h RDS地址 -U air

View File

@@ -589,3 +589,4 @@ scripts/*.ts

View File

@@ -277,3 +277,4 @@ Node.js后端部署成功后

View File

@@ -500,3 +500,4 @@ Node.js后端 (SAE) ← http://172.17.173.88:3001

View File

@@ -215,3 +215,4 @@ curl http://localhost:3001/health

View File

@@ -253,3 +253,4 @@ npm run dev

View File

@@ -477,3 +477,4 @@ pgm-2zex1m2y3r23hdn5.pg.rds.aliyuncs.com:5432

View File

@@ -1805,3 +1805,4 @@ curl http://8.140.53.236/

View File

@@ -353,3 +353,4 @@ crpi-cd5ij4pjt65mweeo.cn-beijing.personal.cr.aliyuncs.com/ai-clinical/backend-se

View File

@@ -675,3 +675,4 @@ docker login --username=gofeng117@163.com \

View File

@@ -484,5 +484,6 @@ NAT网关成本¥100/月,对初创团队是一笔开销