Files
xiaoxia-saas/apps/api
CI Bot a602ad43d8
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 9s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 9s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 4s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m20s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
fix: black + isort + flake8 E303 全量格式修复
- black: 修复 scripts/check_migration_safety.py 末尾空行
- isort: 修复 5 个文件的 import 排序
  - apps/api/app/api/routes/generation_tasks.py
  - apps/api/app/core/storage.py
  - apps/api/app/services/job_service.py
  - tests/unit/test_tts_oss_transfer.py
  - tests/unit/test_feature_flag.py
- flake8 E303: 修复 assets.py 多余空行

注:E704(Protocol 单行 def)和 E226(f-string 内运算符)
为合理写法,未修改;如 CI 卡住可在 .flake8 中加 ignore。
2026-07-13 18:32:19 +08:00
..
2026-06-15 15:17:40 +08:00
2026-07-11 16:29:07 +08:00
2026-06-15 15:17:40 +08:00
2026-06-15 15:17:40 +08:00

xiaoxia-saas API

结构

  • app/core/:配置与基础能力
  • app/api/:路由组织
  • app/schemas/:请求响应模型
  • app/dependencies.py:依赖注入入口
  • main.pyFastAPI 启动入口

当前可用接口

  • GET /api/health
  • GET /api/projects?workspace_id=...
  • POST /api/projects