e54fcf1f8c
feat(aiot): 告警截图展示 + 全局配置同步 + API兼容修复
...
- 告警列表新增截图缩略图列,支持预览大图
- 告警详情显示截图 URL 链接
- 摄像头管理页新增「同步全局配置」按钮
- 告警 API 路径修正: camera-summary → device-summary
- 告警 ID 兼容 alarmId 字符串格式
- Vite 代理新增 /uploads、/captures、/aiot/storage 路由
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-11 09:57:29 +08:00
184bb863b0
fix(aiot): 修复 WVP 认证机制,实现自动登录和 token 管理
...
- WVP 使用独立 JWT 认证(access-token 头),与芋道 Authorization Bearer 不同
- 实现 WVP 自动登录:首次请求时自动调用 /api/user/login 获取 token
- 缓存 token 防止重复登录,401 时自动续期
- 响应拦截器自动解包 WVP {code:0, data:...} 格式
- Vite 代理新增 /aiot/device/user 和 /aiot/device/server 路由规则
- 移除已废弃的 aiot/video 代理规则
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 10:24:47 +08:00
f7bfde0135
feat(aiot-device): 摄像头管理增加增删改功能
...
- Camera 接口扩展完整字段(type、timeout、rtspType、enable 等)
- 新增 saveCamera、deleteCamera、getMediaServerList API
- 摄像头管理页面增加添加/编辑弹窗(表单含代理类型、拉流地址、RTSP方式等)
- 增加删除确认对话框
- Vite 代理增加媒体服务器 API 转发规则
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 09:51:37 +08:00
c28606df4e
feat(aiot-device): 新增摄像头代理 Vite 规则
...
WVP 的摄像头拉流代理接口位于 /api/proxy 路径下,
与 ROI/算法接口的 /api/ai 前缀不同,需单独匹配。
新增 /admin-api/aiot/device/proxy → /api/proxy 代理规则。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-08 23:23:56 +08:00
936dff610c
feat(aiot): 更新 Vite 代理规则,移除旧 ai-alert 路由
...
- 添加 4 条 aiot 代理规则:
/admin-api/aiot/alarm → 告警服务 :8000(直通)
/admin-api/aiot/edge → 告警服务 :8000(直通)
/admin-api/aiot/device → WVP :18080(rewrite 为 /api/ai)
/admin-api/aiot/video → WVP :18080(rewrite 为 /api)
- 移除旧的 /admin-api/ai-alert 和 /admin-api/video 代理规则
- 删除旧的 ai-alert 路由、视图、API 文件
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-06 16:41:00 +08:00
YunaiV
af0057940a
feat:增加 allowedHosts 变量,允许 natapp 转发,对应 https://t.zsxq.com/kSg2A
2026-01-18 17:04:03 +08:00
YunaiV
83f6a0fbf7
chore: v5 init【64ed9206】
2025-03-18 13:06:04 +08:00
vince
66fd052709
fix: fix known issues. fixed #59,fixed #61 , fixed #67 , fixed #68 [deploy]
2024-07-29 00:19:26 +08:00
Vben
376fd17a61
feat: Feature/pro docs ( #70 )
...
* chore: merge main
* feat: update docs
* feat: remove coze-assistant
* feat: add watermark plugin
* feat: update preferences
* feat: update docs
---------
Co-authored-by: vince <vince292007@gmail.com >
2024-07-28 14:29:05 +08:00
vben
e441d14fa2
refactor(project): @vben/vite-connect is reconfigured to support synchronization
2024-07-13 21:13:42 +08:00
vince
2406ca832b
feat: support some configurations through the .env file
2024-07-09 23:43:08 +08:00
vben
6147d13a29
docs: update docs
2024-07-07 23:52:19 +08:00
vben
ca1cad0cd3
feat: add backend-mock app
2024-06-30 14:09:44 +08:00
vben
c58aa26dbf
chore: update locale
2024-06-29 15:41:10 +08:00
vben
36a4fcfad2
feat: update dashboard
2024-06-29 14:45:02 +08:00
vben
382652e0f4
feat: support pwa
2024-06-16 15:45:15 +08:00
vben
d584d4cf4e
chore: update app name
2024-06-08 16:33:49 +08:00