lzh
ea15ef332c
重构: video 模块走芋道网关统一鉴权,移除独立 WVP JWT 客户端
- api/video/request.ts: 删除自实现的 WVP access-token 登录/缓存/401 续期逻辑,
直接 re-export requestClient(yudao Authorization: Bearer),
wvpRequestClient 名字仅作过渡期别名,TODO 标记后续统一重命名。
- api/video/device/index.ts: 路径从 /video/device/{proxy,user,server,...} 迁移到
后端 @RequestMapping 对齐的 /video/{proxy,ai/*,server/media_server};
删除 getAlertImageUrl(老 WVP 时代产物),删除截图 URL 里的 ?access-token。
- api/video/edge/index.ts: /video/device/device/* -> /video/ai/device/*(对齐 AiEdgeDeviceController)。
- views/video/device/camera: HEAD 探活 URL 同步,补注释说明后端需对
/video/ai/roi/snap/image permitAll 或依赖 session cookie。
- vite.config: 删除 /admin-api/video/device/* 按子路径 rewrite 到 WVP:18080 的规则,
统一走 /admin-api 到芋道网关 48080;去掉 VITE_WVP_USERNAME/PASSWORD_MD5 依赖
(安全改进:凭据不再打进客户端 bundle)。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-23 19:33:37 +08:00
..
2025-11-19 16:46:34 +08:00
2025-12-27 12:49:14 +08:00
2026-04-23 00:08:33 +08:00
2025-11-18 09:20:09 +08:00
2025-11-16 20:02:53 +08:00
2025-11-29 15:59:55 +08:00
2026-04-17 10:02:02 +08:00
2025-12-01 18:37:05 +08:00
2025-10-07 14:40:00 +08:00
2025-11-27 12:17:53 +08:00
2025-11-20 08:43:34 +08:00
2026-04-23 00:08:33 +08:00
2026-04-23 19:33:37 +08:00
2024-08-11 16:09:32 +08:00
2026-04-23 00:08:33 +08:00