liufumingren
839d4e2d7f
feat(video): 视频补录请求状态收敛与结果通知拆分
1) 新增 wms_video_record_request 模型与迁移(群/人员信息列、状态+通知扫描索引);索引调整为 (status,is_notified,last_request_at) 并移除单列 idx_status。
2) systems/video_record_request.js:settleStatuses 只收敛状态(可用/全部失败/超时/参数缺失),notifyResults 只做结果通知;成功结果按原查询链路(queryPackVideo/queryReturn)取回并回原群,失败/超时回原群并转人工通知(仓库群客服群,未命中不外发)。
3) schedule/notify_video_record_result.js:每 1 分钟串行执行「状态收敛 → 结果通知」,带重入锁,仅在有变化时打日志。
4) inbox/functions.js:查询打包/拆包视频时同步补录请求状态(有视频置 completed),无可用视频时登记补录请求并推送录制服务。
5) config.inbox 新增 videoRecordNotifyLimit / videoRecordNotifyTimeoutMs。
2026-09-11 02:49:27 +08:00
..
2026-08-27 17:58:52 +08:00
2026-09-05 22:42:39 +08:00
2026-05-06 01:32:55 +08:00
2026-09-10 20:59:39 +08:00
2026-09-11 02:49:27 +08:00
2026-09-11 02:49:27 +08:00
2026-09-11 02:49:27 +08:00
2026-05-22 08:39:07 +08:00
2026-08-06 17:40:36 +08:00