fix: bug
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a7f3479fcf
commit
e8e4f21643
|
@ -5,8 +5,6 @@ from functools import wraps
|
|||
|
||||
from flask import request, session
|
||||
|
||||
from app import rpc
|
||||
|
||||
|
||||
def split_group(dict_list, key):
|
||||
dict_list.sort(key=itemgetter(key))
|
||||
|
@ -24,6 +22,7 @@ def login_required(f):
|
|||
"""
|
||||
登陆保护,验证用户是否登陆
|
||||
"""
|
||||
from app import rpc
|
||||
|
||||
@wraps(f)
|
||||
def wrapper(*args, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue