diff --git a/backend/routers/router_test.go b/backend/routers/router_test.go index 7f048fe..2455b9f 100644 --- a/backend/routers/router_test.go +++ b/backend/routers/router_test.go @@ -55,7 +55,10 @@ func TestCriticalRoutes(t *testing.T) { {"GET", "/api/v1/ai/config"}, {"PUT", "/api/v1/ai/config"}, {"POST", "/api/v1/ai/config/test"}, - {"POST", "/api/v1/ai/analyze"}, + // 重构后:整页分析改为浮窗助手(POST /ai/chat,admin + Pro 闸门) + {"POST", "/api/v1/ai/chat"}, + {"GET", "/api/v1/system/license"}, + {"POST", "/api/v1/system/license/activate"}, {"GET", "/api/v1/ai/runs"}, {"GET", "/api/v1/ai/runs/:id"}, // 备份恢复接口已在上游被移除(commit f87fb4b),这里不再断言