实现全部 CHOICE 财务接口, 补充测试/文档/部署配置

- 新增 9 个抓取模块: 三大报表/盈利能力/资本结构/营运能力/成长能力/杜邦/分红
- api.py 新增 10 个 /fin/* 接口并统一无数据返回
- 新增 _emchoice.py 共享请求辅助 (emws 跳转取 URL / datacenter 报表拉取)
- 新增冒烟测试 tests/test_interfaces.py (24 用例)
- 新增接口文档 api_manual.md 与施工蓝图 blueprint.md
- 新增 Dockerfile / docker-compose.yml / deploy.sh 部署配置
This commit is contained in:
2026-08-15 09:19:11 +08:00
parent cd7ca92cff
commit 11ddbd3c49
21 changed files with 1806 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
services:
api:
build:
context: .
dockerfile: Dockerfile
image: emweb-api:latest
container_name: emweb-api
ports:
- "8765:8765"
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8765/health', timeout=3)"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s