Files
16337 650894b4e4 feat(aiot): 截图持久化 — cos_key 存入 DB,proxyImage 支持 DB 兜底
- 新建 wvp_ai_camera_snapshot 表(camera_code → cos_key 映射)
- 新建 AiCameraSnapshotMapper(getCosKey / upsert)
- AiScreenshotServiceImpl: handleCallback 成功后将 cos_key 写入 DB
- AiScreenshotServiceImpl: proxyScreenshotImage 增加 DB 兜底路径
  Redis 缓存(5min) → DB(永久) → CosUtil 生成 presigned URL → 下载
- AiRoiController: Cache-Control 从 60s 增大到 300s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 20:08:47 +08:00
..