simon and Claude 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
simon and Claude 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
simon and Claude 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
杨水淼
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
杨水淼
de11c31f0b
更新:重构多个页面代码,简化代码。实现无刷新更新数据。
2025-07-14 12:46:48 +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
3a09f3ca67
first commit
2023-10-16 12:58:41 +08:00