加入接口文档页面
This commit is contained in:
@@ -13,7 +13,7 @@ system_bp = Blueprint('system', __name__)
|
|||||||
|
|
||||||
# 记录应用启动时间
|
# 记录应用启动时间
|
||||||
APP_START_TIME = time.time()
|
APP_START_TIME = time.time()
|
||||||
@app.route('/api_docs')
|
@system_bp.route('/api_docs')
|
||||||
@login_required
|
@login_required
|
||||||
def api_docs():
|
def api_docs():
|
||||||
return render_template('api_docs.html')
|
return render_template('api_docs.html')
|
||||||
|
|||||||
Reference in New Issue
Block a user