docs: 更新 README/CLAUDE/AGENTS/DB_REFERENCE

- README: 新增投资资讯日报功能、日报 API 数据源、三种数据流模式、sync-echart 部署与 gitea 仓库说明
- CLAUDE.md: 页面目录表补 charts/news_reports.php,模式B 代表页面补充
- AGENTS.md: 模式B 页面清单与 API 端点补充
- DB_REFERENCE.md: 补 news_report/news_event 两张日报表(共 18 张)
This commit is contained in:
2026-08-06 09:33:53 +08:00
parent 11f31762ad
commit 10569bb828
4 changed files with 30 additions and 12 deletions
+8 -1
View File
@@ -2,7 +2,7 @@
数据库:`myquant`(配置在 `inc/config.php`
共 16 张表,其中 10 张在使用,3 张未使用,3 张已由 API 替代。
共 18 张表,其中 12 张在使用,3 张未使用,3 张已由 API 替代。
## 全表清单
@@ -52,6 +52,13 @@
| `pv_log` | ✅ 在用 | 页面访问日志 | `inc/functions.inc.php` |
| `pv_counter` | ✅ 在用 | 页面访问计数器 | `inc/functions.inc.php` |
### 日报 API2 张,djapi 后端管理)
| 表名 | 状态 | 用途 | 引用文件 |
|------|------|------|---------|
| `news_report` | ✅ 在用 | 投资资讯日报主表(国内 finance / 国际 intl,每天每类型一份) | djapi `api/report/` 写入;前端 `charts/news_reports.php``api.doorcome.cn/api/news/reports/` 只读消费 |
| `news_event` | ✅ 在用 | 日报事件明细(xwlb/news/cninfo/intl 板块,含重要度/情感/来源/链接) | 同上,`/api/news/events/` 跨日报聚合 |
## 说明
- 所有 SQL 查询均通过 `db_query()` 参数化查询(prepare/execute),`excelOperate.inc.php` 中 insert 操作用字符串拼接