Commit Graph
31 Commits
Author SHA1 Message Date
simonandClaude Opus 4.7 742bed2644 fix: 修复 getBasic.inc.php 多余括号 & 重构研究报告卡片
- 删除 getBasic.inc.php 中残留的多余 `}` 导致部署后解析错误
- index-2.php: 删除 PDF报告卡片;研究报告卡片改为按日期子目录动态加载

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-15 09:54:48 +08:00
simonandClaude Opus 4.7 080d6da44c refactor: 前端库清理、页面废弃、DB→API 数据源替换
- 删除重复库文件:lib/DataTables-2/、lib/echarts/、libai/、css/fontawesome/ 等 179 个冗余文件
- 下载外部 CDN 到本地:Mermaid、AOS、Google Fonts(Inter/Noto Serif SC/Noto Sans SC)
- 所有第三方库统一到 lib/,按库名-版本号命名
- 更新 8 个 research HTML 文件引用路径

- stock_his_pro → /api/stockbasic/(getStockHist、recentPrice)
- stock_all_pro → /api/stockinfo/(tscodeToName)
- index_hist_pro → /api/indexDatas/(getIndexData)
- 新增 callDoorcomeApi() 共享函数
- 被替换表的 DB 查询代码完全删除,无回退

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-07 15:50:39 +08:00
simonandClaude Opus 4.7 ef123c697f refactor: 废弃机构持仓图表页面,整理数据库表引用文档
- 将 chartSix.php、chartThree.php、stock_ih.php、index_ih.php 移至 deprecated/
- 从 index.php、index-2.php 移除对应导航链接
- 新增 DB_REFERENCE.md,完整记录 16 张数据库表的使用状态
- 更新 continuation.md

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-07 08:30:15 +08:00
simonandClaude Opus 4.7 eedead0d41 feat: 全面代码更新 - ECharts 5.4.2 重构、新增量化分析模块、前端库升级
- 升级 ECharts 到 5.4.2,重构 lib/ 目录结构
- 新增 DataTables 2.x 和 FixedColumns 插件
- 新增 quant/ 宏观研究报告模块
- 重构图表页面:stock_trend、hkholdbycode 等采用 JS fetch API.doorcome.cn 模式
- 新增 CLAUDE.md 补充页面文档和新数据流说明
- 更新 inc/config.php TuShare API 配置
- 更新新闻联播分析模块 news/ 和相关研究报告 research/
- 新增 api_document/ 参考文档
- 清理 .gitignore,排除 uploads/xls/.mcp.json/ source maps 等非代码文件
- 所有 PHP 文件通过 php -l 语法检查

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-06 18:01:55 +08:00
simonandClaude Code f3f9d19da7 refactor: 前端库整理与图表标准化
库文件整理:
- 所有JS/CSS/字体库统一到lib/js/、lib/css/、lib/webfonts/
- 按名称-版本格式重命名(jquery-3.6.0.min.js等)
- 删除约80个重复/废弃的库文件副本
- 更新17个文件中的引用路径

图表模式标准化:
- moneyflow/realestate/estate3个页面从$.ajax/PHP注入转为fetch+loading overlay模式
- 新增moneyflowData/estateData两个AJAX端点
- chartmoneyflow.js、estate.js移至deprecated

README.md更新为完整功能介绍

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-26 14:34:28 +08:00
simonandClaude Code 7e57cae242 refactor: 全面代码重构与项目结构整理
安全性:
- 所有SQL查询改用参数化查询(db_query),防止SQL注入
- TUSHARE_API_TOKEN集中到config.php常量,移除硬编码和多份拷贝
- getBasic.inc.php中$_REQUEST输出到JS时添加htmlspecialchars转义

代码组织:
- 21个页面文件移至charts/子目录,根目录仅保留入口文件
- ajax.inc.php拆分:esfTradeDaily/esfListDaily迁至getEstate.inc.php
- getBasic.inc.php拆分:HTML组件函数迁至新建的widgets.inc.php
- 前端依赖去重:移除lib/echarts.min.js、libai/3.4.16.js、research/js/3.4.16.js

规范化:
- AJAX响应格式统一为jsonResponse()标准封装
- 前端全局变量统一为window.chartConfig对象模式
- 修复PHP 8.4 Deprecated警告(getEstateData、getStockHistoryDataByTS参数顺序)
- html/head.php中jQuery/CSS路径改为绝对路径,修复charts/子目录加载问题

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-05-26 08:20:33 +08:00
杨水淼 07da6a2ad4 update before cc involved 2026-05-25 11:01:06 +08:00
杨水淼 2f600aed0f feat: 使用 get_mysqli_connection() 函数重构数据库连接 2025-11-12 16:02:19 +08:00
杨水淼 4c348e379d feat: Refactor database connection handling to use centralized configuration 2025-11-12 16:00:32 +08:00
杨水淼 8303ae39f1 Refactor code structure for improved readability and maintainability 2025-11-03 12:01:37 +08:00
杨水淼 4990e2068c Add Font Awesome v4 compatibility WOFF2 file 2025-10-29 08:07:49 +08:00
杨水淼 cb98c1649c Add summary statistics and macroeconomic data files for 2025
- Created summary_statistics.csv with total news articles and key metrics from January 1 to October 13, 2025.
- Added 一号文件十四五十五五规划情况.csv detailing keyword occurrences related to planning documents.
- Introduced 主要宏观经济数据.csv capturing mentions of key economic indicators.
- Included 国外交流随行企业与企业家名单.csv listing leaders and their engagements with foreign enterprises.
- Added 国家领导人考察行程清单.csv documenting leaders' inspection itineraries.
- Created 国际合作与外交动态.csv summarizing international cooperation and diplomatic activities.
- Added 高频行业关键词统计.csv with statistics on frequently mentioned industry keywords.
2025-10-23 14:58:21 +08:00
杨水淼 4a56455151 feat: Update database connection and error display settings
- Changed database connection credentials in footer.php for improved security.
- Disabled error display in ajax.inc.php to prevent sensitive information exposure.
- Added comprehensive design documentation for the news flow application.
- Implemented a modernized index.php layout with responsive design and enhanced user experience.
- Developed main.js for dynamic news loading, including infinite scroll and date filtering functionalities.
- Structured interaction.md to detail core interactive features of the application.
- Organized outline.md to clarify project structure and core functionalities.
- Populated mock-data.json with realistic news data for testing and development purposes.
2025-10-13 16:16:46 +08:00
杨水淼 521e0687a4 Add stock dividend trend analysis page with chart rendering and data fetching 2025-09-02 12:41:09 +08:00
杨水淼 4b3a51083b 更新:增加html研究报告页面,增加新的导航页 2025-07-28 12:44:46 +08:00
杨水淼 bd82783ddb 更新:js容错算法改善,增加2份Ai报表 2025-07-22 16:16:59 +08:00
杨水淼 bd4f92d465 更新:ajax 载入动图更新 2025-07-19 10:01:53 +08:00
杨水淼 de11c31f0b 更新:重构多个页面代码,简化代码。实现无刷新更新数据。 2025-07-14 12:46:48 +08:00
杨水淼 daeae185dd 更新:重构股票和指数趋势页面,增加流通市值图表,优化数据获取逻辑,修复代码中的小错误 2025-07-10 17:24:15 +08:00
杨水淼 5152b3ee2f 更新:重构和迁移多个PHP文件到deprecated目录,删除不再使用的文件,更新pubfunc.js版本;index_trend,stock_trend 数据源以及代码重构简化 2025-07-09 15:21:52 +08:00
杨水淼 43a202c789 更新:添加每日和每月数据选项,修改相关URL参数,更新JavaScript文件,增加股票指数历史数据获取功能 2025-07-09 07:36:50 +08:00
yangshuimiao 5d135b24f1 update: minor update 2025-01-10 07:48:24 +08:00
yangshuimiao e33cb8e93a fix: 标题错误 2023-11-13 10:01:00 +08:00
yangshuimiao d367cfc2e9 融资余额Y坐标auto scale 2023-10-26 10:24:47 +08:00
yangshuimiao fdbbe445bb update: PV Counter 2023-10-24 09:03:37 +08:00
yangshuimiao e3f65c200d Merge branch 'main' of https://github.com/Simon2046/echarts 2023-10-16 14:05:06 +08:00
yangshuimiao b6b0d93b37 Minor update 2023-10-16 13:38:42 +08:00
Simon2046andGitHub 3a8e5ef82d Delete .vscode directory 2023-10-16 13:35:44 +08:00
Simon2046andGitHub eded42c881 Update README.md 2023-10-16 13:15:27 +08:00
Simon2046andGitHub 0b876e8807 Create README.md 2023-10-16 13:15:11 +08:00
yangshuimiao 3a09f3ca67 first commit 2023-10-16 12:58:41 +08:00