fix(P0): 一键生成接入BGM/ASR字幕/标题 - 修复模板plan config读取 #565

Merged
auto-approve-bot merged 1 commits from fix/p1-oneclick-bgm-subtitles into develop 2026-07-19 09:46:05 +08:00

1 Commits

Author SHA1 Message Date
CI Bot c58dbf0608 fix(P0): 一键生成接入BGM/ASR字幕/标题 - 修复模板plan config读取
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (pull_request) Has been skipped
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Has been skipped
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 23s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Has been skipped
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 52s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 46s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m13s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 2m21s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 2m54s
AI Code Review / AI Code Review (pull_request) Successful in 2m58s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m38s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 5m33s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 21s
根因:_load_template_plan_config读取不存在的template.config字段,
实际上TemplateModel的bgm/subtitle/title配置存在三个独立字段。

修复:从title_config/subtitle_config/bgm_config三个字段
组装成plan.config格式{title, subtitle, bgm}注入到virtual_plan。
2026-07-19 09:39:53 +08:00