Files
echart/continuation.md
T
simonandClaude 60fb1b95e1 fix: 修复 getBasic.inc.php 多余括号 & 重构研究报告卡片
- 删除 index-2.php 中 PDF 报告卡片(6 个硬编码链接)
- 研究报告卡片改为动态加载:扫描 research/yyyymmdd/ 子目录生成下拉框
- 选中日期后显示该目录下所有 HTML 文件(提取 <title> 作为链接名)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-17 20:46:33 +08:00

46 lines
1.6 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Continuation
## 当前状态
index-2.php 研究报告卡片重构完成并已部署,getBasic.inc.php 解析错误已修复。GitHub 认证未配置,推送被阻塞。
## 已完成
1. **index-2.php 重构**
- 删除 PDF报告卡片(6 个硬编码 PDF 链接)
- 研究报告卡片改为动态加载:扫描 `research/yyyymmdd/` 格式子目录,生成下拉选择框
- 选中日期后显示该子目录下所有 HTML 文件链接(用 `<title>` 元素作为链接名)
- 部署到 `simon@www.doorcome.cn:/var/www/html/echart/`
2. **getBasic.inc.php 修复**
- API 替换后残留的多余 `}` 导致部署后 PHP 解析错误(Unmatched `}`
- 已删除并重新部署
3. **Chart 页面数据源审计**
- 7 个页面已使用 api.doorcome.cn(无需改动)
- 5 个房地产/资金流向页面使用本地 DB 但无 API 可替
- 1 个(stockkeydata.php)可用 `/api/finance/` 替代
- 1 个(stockTradeRecord.php)私人交易数据不可替代
4. **Git 提交**
- 本地 commit: `742bed2`(修复多余括号 & 重构研究报告卡片)
- **推送失败**GitHub 未配置认证
## 当前工作
- `stockkeydata.php` 可改由 `/api/finance/` 替代,待用户确认后执行
## 未完成
- GitHub 推送阻塞,需先 `gh auth login` 完成认证
- `moneyflow_hsgt_pro/ext``estate_*` 数据陈旧但无 API 可替,维持现状
## 关键设计决策
- 研究报告卡片改为按日期子目录动态扫描,不再硬编码文件列表
## 下一步
1. 执行 `gh auth login` 完成 GitHub 认证
2. 推送 commit 到 remote
3. 确认是否执行 stockkeydata.php 的 `/api/finance/` 替换