diff --git a/admin/dashboard/blueprints/system.py b/admin/dashboard/blueprints/system.py index 32482b9..7e7dc7b 100644 --- a/admin/dashboard/blueprints/system.py +++ b/admin/dashboard/blueprints/system.py @@ -13,7 +13,7 @@ system_bp = Blueprint('system', __name__) # 记录应用启动时间 APP_START_TIME = time.time() -@app.route('/api_docs') +@system_bp.route('/api_docs') @login_required def api_docs(): return render_template('api_docs.html')