feature_list_monitor.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "project_name": "AI有声书生成工具",
  3. "base_config": {
  4. "backend_port": 3000,
  5. "frontend_port": 5173,
  6. "db_host": "localhost",
  7. "db_port": 3306,
  8. "auth_enabled": false
  9. },
  10. "features": [
  11. {
  12. "id": 1,
  13. "description": "请求日志监控 - 日志中间件和日志服务",
  14. "backend_test_steps": [
  15. "1. curl http://localhost:3000/api/search?q=test - 验证请求被记录",
  16. "2. curl http://localhost:3000/api/logs - 验证日志查询接口",
  17. "3. curl http://localhost:3000/api/logs/errors - 验证错误日志查询"
  18. ],
  19. "frontend_test_steps": [
  20. "1. 打开日志监控页面",
  21. "2. 验证请求日志列表显示",
  22. "3. 验证错误日志高亮显示"
  23. ],
  24. "status": "done",
  25. "passes": true
  26. },
  27. {
  28. "id": 2,
  29. "description": "请求日志监控 - 错误自动分析和修复",
  30. "backend_test_steps": [
  31. "1. 故意发送错误请求触发错误日志",
  32. "2. curl http://localhost:3000/api/logs/errors/latest - 验证获取最新错误",
  33. "3. curl -X POST http://localhost:3000/api/logs/auto-fix/test-error - 验证自动修复接口"
  34. ],
  35. "frontend_test_steps": [
  36. "1. 打开日志监控页面",
  37. "2. 查看错误分析结果",
  38. "3. 点击自动修复按钮",
  39. "4. 验证修复状态更新"
  40. ],
  41. "status": "done",
  42. "passes": true
  43. }
  44. ]
  45. }