CoolBotDataSys/api/models
caibotmi 1a1f7a92fe refactor: 重构 API 架构,规范化命名和响应格式
- 统一响应格式: {code, message, data, timestamp}
- RESTful 路由: /api/v1/collections, /api/v1/prices
- 分页封装: PaginatedData
- 路由模块化: routes/collections.py, routes/prices.py, routes/health.py
- 数据模型: Pydantic models for request/response
- 数据库连接池
- 配置文件: config/config.yaml
- 爬虫模块: crawlers/yichens_spider.py
2026-04-04 18:23:00 +08:00
..
__init__.py refactor: 重构 API 架构,规范化命名和响应格式 2026-04-04 18:23:00 +08:00
request.py refactor: 重构 API 架构,规范化命名和响应格式 2026-04-04 18:23:00 +08:00
response.py refactor: 重构 API 架构,规范化命名和响应格式 2026-04-04 18:23:00 +08:00