小唯
|
38d35a8580
|
add: nginx HTTPS config (443 ssl, http→https redirect)
|
2026-06-18 22:18:55 +08:00 |
小唯
|
80fab2fa6f
|
add: gaokao_chat_server_v2.py symlink (gunicorn compat) + backup
|
2026-06-18 19:19:12 +08:00 |
小唯
|
465370c2e2
|
fix: subject field mapping 文科/理科→历史类/物理类 for /api/prob
|
2026-06-18 18:54:08 +08:00 |
小唯
|
102be47e99
|
fix: index.html - CSS块误放在script标签内导致calcProb函数未定义,概率估算按钮无响应
|
2026-06-18 18:46:53 +08:00 |
小唯
|
1ed0809338
|
perf: nginx security headers + SPA fallback + robots.txt + sitemap.xml + /ai-chat proxy
- 添加 Security Headers (X-Frame-Options, X-Content-Type-Options, X-XSS-Protection, Referrer-Policy)
- 修复 SPA fallback (try_files $uri $uri/ /index.html) - /tools, /score, /calendar, /plan 不再 404
- 新增 /ai-chat location 代理到 Flask /chat (修复 plan.html 的 POST 请求)
- 新增 robots.txt 和 sitemap.xml (SEO 优化)
- 保留 nginx 配置文件备份 (gaokao.conf.panel)
|
2026-06-18 17:25:54 +08:00 |
小唯
|
1fd3b0e88b
|
sync: 从服务器同步最新文件
- tuition_data.py: 学费数据模块(新文件)
- 更新 scripts 和 sync.sh
- 删除无意义的 test.txt
|
2026-06-18 17:09:25 +08:00 |
小唯
|
be7989458f
|
fix: add /api/recommend route for ai-tool.html AI智能推荐功能
之前 ai-tool.html 调用 /api/recommend 但 Flask 中不存在此路由,
导致 AI智能推荐按钮一直报错'服务暂时不可用'。
新增 /api/recommend POST 接口:
- 接收 score/category/batch 参数
- 复用 /api/prob 的数据库查询逻辑
- 返回 summary + chong/wen/bao 学校列表 + tips
|
2026-06-18 17:08:10 +08:00 |
小唯
|
8f9c98c5b5
|
feat: 高考志愿网站初始版本
- ai-chat.html: AI对话咨询页
- ai-tool.html: AI智能推荐页 (需 /api/recommend 路由)
- plan.html: 志愿填写助手
- school.html: 查校对比
- major.html: 查专业录取分
- qa.html: 常见问题
- diag.html: 高考诊断
- gaokao-chat-server-v2.py: Flask后端 (port 8080)
- scripts/: 数据采集和处理工具
|
2026-06-18 16:59:13 +08:00 |