首次完成数据库登录,注册验证。首次完成,migrate_manager.py迁移多个数据库

This commit is contained in:
Jay
2026-08-26 00:47:06 +08:00
commit 16fb5030cb
54 changed files with 1285 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
from flask import Blueprint, request, render_template
admin = Blueprint('admin', __name__, url_prefix='/admin')
@admin.route('/', methods=['GET', 'POST'])
def admin_index():
if request.method == "POST":
username = request.form["username"]
password = request.form["password"]
return render_template("admin/admin_index.html")