feat(auth): 增加登录验证和五天会话

This commit is contained in:
admin committed 2026-09-21 17:46:43 +08:00
1 parent ecd16bcefc
commit 810b52a051
14 files changed
+467 -20

No files matched your search

+2
View File
@@ -37,6 +37,7 @@ except ImportError:
_ssl_context = ssl.create_default_context()
from flask import Flask, g, jsonify, render_template, request
from auth import register_auth
from reading_api import reading_bp
# ======================================================================
@@ -46,6 +47,7 @@ app = Flask(__name__, static_folder="static", template_folder="templates")
# 注册当前看板数据接口,并保留旧客户端兼容路径。
app.register_blueprint(reading_bp)
register_auth(app)
# ======================================================================
# 数据库连接配置