feat(phase2): 剪辑计划API路径从/edit-plans迁移到/template-editors #645
Reference in New Issue
Block a user
Delete Branch "feat/phase2-migrate-edit-plans-to-template-editors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更内容
剪辑计划架构整合 Phase 2 — 前端 API 路径迁移
修改文件
apps/web/src/api/editPlans.ts: 22个API端点路径全部从/edit-plans/*改为/template-editors/*apps/web/src/pages/generate/GeneratePage.tsx: 直接调用apiClient的 generation-status 改为使用getGenerationStatus函数,删除未用的apiClientimport范围
备注
🚀 预览环境已部署
cc00428019to95a700602695a7006026tob63ed41f51b63ed41f51to25f068152525f0681525to21fc3f3b45代码审查结果 - PR #645
⚠️ 问题(1个需要修改)
core.fileMode)导致的误操作。建议将文件权限改回 100644,以保持代码仓库的规范性。💡 建议(1个可选)
GenerationStatusResponse接口中同时增加了error_message、error和message三个可能用于描述错误或状态的字段。建议明确区分这三个字段的业务含义(例如:message用于成功提示,error用于错误码,error_message用于详情),或者统一命名,避免前端调用时产生歧义。❌ 格式检查通过 | ✅ 逻辑审查需修改 | ✅ 建议关注性能
🤖 由 AI 代码审查机器人自动生成 | 2026-07-20 19:00:49 | 模型:
CI全绿,自动审批通过。
CI全绿,自动审批通过。
🗑️ 预览环境已清理
PR #645 已关闭或合并,对应的预览环境已被清理。