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
+1 -1
View File
@@ -23,7 +23,7 @@ class Login(Resource):
if current_user.is_authenticated:
return redirect(url_for('admin.index'))
# TODO 分离视图操作 最终实现接口登录与视图登录两套逻辑
return make_response(render_template('admin/login.html'))
return make_response(render_template('index/login.html'))
def post(self):