liufumingren
|
e61efbb66a
|
feat(inbox): 站内信模块完整实现 - AI智能助手、群管理、消息列表增强、灰度开关
新增功能:
- AI智能助手: DeepSeek多轮推理、函数调用(searchStock/createOrder等)
- silent动作: AI识别无需回复的消息(好的/谢谢/再见)自动跳过回执
- ai_enabled灰度开关: 群级别控制AI启停,支持逐群放量
- 消息列表增强: storeId/groupId/groupName/userName/content/sourceType多条件筛选,时间格式化
代码优化:
- processWithAI: 多轮推理循环(MAX_ROUNDS=5)、对话历史不含[#N]前缀防AI污染
- 回执记录补齐group_id/user_id/group_name/user_name上下文
- 移除未使用的target_channel字段及迁移
- bindCode文档修正: store_warehouse → store
接口文档:
- system.json v0.3.18→0.3.19: 新增aiEnabled参数、消息列表响应扩充
- changes/system.json: 新增bindCode变更记录
杂项:
- store_warehouse.js JSDoc补全
- wave.js waveBatchSource修复
|
2026-08-06 17:40:36 +08:00 |
|
liufumingren
|
3d33861afd
|
fix(inbox): store_id 增加签约表校验(StoreWarehouse auth_status=2 + warehouse_use_status=1)
|
2026-08-03 03:26:39 +08:00 |
|
liufumingren
|
440ace1a5d
|
refactor(inbox): 移除 target_url(改用ApiApp回调地址)和 ref_code(合并到ext_data)
|
2026-08-03 03:17:59 +08:00 |
|
liufumingren
|
8b978f50ec
|
fix(inbox): 修复边界缺口 — 枚举校验、parent_id存在性、软删除过滤、thread防环
|
2026-08-03 02:01:02 +08:00 |
|
liufumingren
|
4374ad01e3
|
feat(inbox): 站内信模块完整实现 — 统一消息收件箱
|
2026-08-03 01:36:16 +08:00 |
|