| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {
- "project_name": "AI有声书生成工具",
- "base_config": {
- "backend_port": 3000,
- "frontend_port": 5173,
- "db_host": "localhost",
- "db_port": 3306,
- "auth_enabled": false
- },
- "features": [
- {
- "id": 1,
- "description": "请求日志监控 - 日志中间件和日志服务",
- "backend_test_steps": [
- "1. curl http://localhost:3000/api/search?q=test - 验证请求被记录",
- "2. curl http://localhost:3000/api/logs - 验证日志查询接口",
- "3. curl http://localhost:3000/api/logs/errors - 验证错误日志查询"
- ],
- "frontend_test_steps": [
- "1. 打开日志监控页面",
- "2. 验证请求日志列表显示",
- "3. 验证错误日志高亮显示"
- ],
- "status": "done",
- "passes": true
- },
- {
- "id": 2,
- "description": "请求日志监控 - 错误自动分析和修复",
- "backend_test_steps": [
- "1. 故意发送错误请求触发错误日志",
- "2. curl http://localhost:3000/api/logs/errors/latest - 验证获取最新错误",
- "3. curl -X POST http://localhost:3000/api/logs/auto-fix/test-error - 验证自动修复接口"
- ],
- "frontend_test_steps": [
- "1. 打开日志监控页面",
- "2. 查看错误分析结果",
- "3. 点击自动修复按钮",
- "4. 验证修复状态更新"
- ],
- "status": "done",
- "passes": true
- }
- ]
- }
|