过滤查询,完善基础功能,解决unicode编码问题,增加磁盘监控对于docker容器的判断
This commit is contained in:
@@ -14,7 +14,7 @@ ma = Marshmallow()
|
||||
|
||||
# 首页
|
||||
@admin_index.route('/')
|
||||
@PreAuthorize('index:index')
|
||||
@login_required
|
||||
def index():
|
||||
username = current_user.username
|
||||
return render_template('admin/index.html', username=username)
|
||||
|
||||
Reference in New Issue
Block a user