feat: 多班级版 v2.0 - Go后端重写 + 43轮代码审查

- 后端从 Python FastAPI 重写为 Go Gin(端口 56789)
- 多班级完全隔离
- 超级管理员独立登录
- 课代表作业管理、排行榜分项排行
- 角色加减分上下限可配置
- 家长改密功能(可开关)
- 周度/月度重置功能
- MySQL 5.7 兼容
- 43轮代码审查+全部修复
- Apache 2.0 许可证
This commit is contained in:
2026-06-22 10:06:10 +08:00
parent 4084afc53c
commit d6dec878bd
214 changed files with 12622 additions and 9725 deletions

View File

@@ -1,6 +1,6 @@
<?php
/**
* 班级操行分管理系统 - 自动升级脚本
* 多班级版班级管理系统 - 自动升级脚本
*
* 读取 VERSION 文件确定目标版本,自动检测数据库当前版本,
* 依次执行增量 SQL 升级脚本。
@@ -456,7 +456,7 @@ try {
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>系统升级 - 班级操行分管理系统</title>
<title>系统升级 - 多班级版班级管理系统</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
@@ -586,7 +586,7 @@ try {
<body>
<div class="container">
<div class="header">
<h1>班级操行分管理系统 - 数据库升级</h1>
<h1>多班级版班级管理系统 - 数据库升级</h1>
<p>自动检测版本并执行增量升级</p>
</div>
<div class="content">
@@ -637,7 +637,7 @@ try {
<?php endif; ?>
</div>
<div class="footer">
班级操行分管理系统 v<?php echo htmlspecialchars($targetVersion); ?>
多班级版班级管理系统 v<?php echo htmlspecialchars($targetVersion); ?>
</div>
</div>