feat(djapi): 新增日报查询 API(news/reports + news/events)及文档
- api/report/ 包:query(连库+SQL)/ views(2 视图)/ serializers(OpenAPI)/ tests(17 单测) - urls.py 注册 news/reports/、news/events/;settings.py SPECTACULAR 加「日报」tag - .env.example 补 NEWS_DB_* 占位配置;README/continuation.md 更新 - docs/news_report_api.md 使用手册;CLAUDE*.md 修正 CLI 路径为 finance/ 前缀
This commit is contained in:
@@ -12,6 +12,14 @@ MYSQL_USER=myquant
|
||||
MYSQL_PASSWORD=your-mysql-password
|
||||
MYSQL_DATABASE=myquant
|
||||
|
||||
# 日报结构化入库 (news_report / news_event) 只读查询
|
||||
# 与 report_db_design.md §7 一致;密码必填,缺失时接口直接报错
|
||||
NEWS_DB_HOST=127.0.0.1
|
||||
NEWS_DB_PORT=3306
|
||||
NEWS_DB_USER=myquant
|
||||
NEWS_DB_PASSWORD=your-news-db-password
|
||||
NEWS_DB_NAME=myquant
|
||||
|
||||
# DeepSeek AI
|
||||
DEEPSEEK_API_KEY=your-deepseek-api-key
|
||||
|
||||
|
||||
Reference in New Issue
Block a user