feat: Phase 1 标题库 UseCase 回归测试 #88

Closed
xiaoxia wants to merge 0 commits from feat/phase1-core-refactor into develop
Owner
No description provided.
xiaoxia closed this pull request 2026-06-28 21:53:56 +08:00
Author
Owner

关闭原因:P0 路由尾斜杠问题

titles.pyvoices.py 中使用 @router.get("/")@router.post("/"),在 PR #85 设置的 redirect_slashes=False 环境下,请求 /titles/voices(无尾斜杠)会返回 404。

修复方案:"/" 改为 "",即 @router.get("")@router.post("")

修复后请重新提 PR。

关闭原因:**P0 路由尾斜杠问题** `titles.py` 和 `voices.py` 中使用 `@router.get("/")` 和 `@router.post("/")`,在 PR #85 设置的 `redirect_slashes=False` 环境下,请求 `/titles` 或 `/voices`(无尾斜杠)会返回 404。 **修复方案:** 将 `"/"` 改为 `""`,即 `@router.get("")` 和 `@router.post("")`。 修复后请重新提 PR。
Some checks are pending
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.