From 90e93bb2b077e86d386c1d48bdefd2b767ee7ead Mon Sep 17 00:00:00 2001 From: hmo Date: Thu, 30 Apr 2026 20:56:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20rename=20system=20to=20=E6=9C=89?= =?UTF-8?q?=E9=9F=B3=E4=B8=AA=E6=80=A7=E5=8C=96=E6=95=99=E5=AD=A6=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F;=20update=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +- app/services/pdf_generator.py | 2 +- app/templates/api_settings.html | 2 +- app/templates/base.html | 6 +- app/templates/classes.html | 2 +- app/templates/home.html | 4 +- app/templates/index.html | 2 +- app/templates/login.html | 4 +- app/templates/plan_detail.html | 2 +- app/templates/plan_edit.html | 2 +- app/templates/plans.html | 2 +- app/templates/problems.html | 2 +- app/templates/setup.html | 2 +- app/templates/statistics.html | 2 +- app/templates/student.html | 2 +- app/templates/templates.html | 2 +- app/templates/users.html | 2 +- docs/DEPLOYMENT_SOP.md | 266 +++++++++++++++++++++++++++++++- 18 files changed, 285 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 65d1a2e..6e842d6 100644 --- a/README.md +++ b/README.md @@ -164,8 +164,8 @@ piano-plan/ --- -> **版本**:v1.5.1 +> **版本**:v1.5.6 > **创建时间**:2026-04-17 -> **最后更新**:2026-04-28 +> **最后更新**:2026-04-30 > -> **重要更新**:v1.5.1 - PDF水印配置保存修复;{student_goals}占位符修复 +> **重要更新**:v1.5.6 - Nginx限流(防爬虫);每日自动备份(30天) diff --git a/app/services/pdf_generator.py b/app/services/pdf_generator.py index 3f17a9f..2ba0ce9 100644 --- a/app/services/pdf_generator.py +++ b/app/services/pdf_generator.py @@ -287,7 +287,7 @@ def generate_pdf(plan_id, student_name, content, output_dir, rendered_report=Non pdf.add_table(table_data) else: # 使用结构化内容 - pdf.add_title(f"钢琴练习方案 - {student_name}") + pdf.add_title(f"有音个性化教学 - {student_name}") pdf.add_heading("学员信息") pdf.add_paragraph(f"学员姓名:{student_name}") pdf.add_paragraph(f"每日练习时间:{content.get('practice_time', 'N/A')}") diff --git a/app/templates/api_settings.html b/app/templates/api_settings.html index 5181932..6ed6856 100644 --- a/app/templates/api_settings.html +++ b/app/templates/api_settings.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}API设置 - 钢琴练习方案系统{% endblock %} +{% block title %}API设置 - 有音个性化教学系统{% endblock %} {% block content %}
diff --git a/app/templates/base.html b/app/templates/base.html index a798db9..6609480 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -3,7 +3,7 @@ - {% block title %}钢琴练习方案管理系统{% endblock %} + {% block title %}有音个性化教学系统{% endblock %} @@ -70,7 +70,7 @@