refactor(api):调整模板目录

This commit is contained in:
zhengxinonly
2021-07-22 00:57:22 +08:00
parent 5470837707
commit ce8adda79d
35 changed files with 63 additions and 63 deletions
+2 -2
View File
@@ -14,11 +14,11 @@ def index():
@index_bp.get('/admin')
@login_required
def admin_index():
return render_template('admin/index.html', user=current_user)
return render_template('index/admin_index.html', user=current_user)
# 控制台页面
@index_bp.get('/admin/welcome')
@login_required
def welcome():
return render_template('admin/console/welcome.html')
return render_template('index/welcome.html')