fix(ui): sync_events 查询补 JOIN sync_videos 取 camera_name(修 1054 报错);feat(缩略图): Oracle 处理成功后抽首帧存 thumbs/{id}.jpg + /api/oracle/video/{id}/thumb 带 token 接口;fam-ui 视频会话显示缩略图(oracle_url+token);start_ui.sh 注入 .env

This commit is contained in:
ericwyuan
2026-08-21 13:37:23 +08:00
parent b7b5fe6f0b
commit 41485072bf
5 changed files with 74 additions and 4 deletions

View File

@@ -14,6 +14,11 @@ fi
cd "$APP_DIR"
# 注入项目级 .envORACLE_SYNC_TOKEN 等),供 config.yaml ${VAR} 解析
if [ -f "$(dirname "$APP_DIR")/.env" ]; then
source "$(dirname "$APP_DIR")/.env"
fi
# 检查虚拟环境
if [ -d "venv" ]; then
source venv/bin/activate