管理后台 server 使用蓝图模式,降低维护成本,降低修改功能时对其他模块的影响
This commit is contained in:
@@ -7,7 +7,7 @@ contacts_bp = Blueprint('contacts', __name__, url_prefix='/contacts')
|
||||
logger = logging.getLogger("ContactsBlueprint")
|
||||
|
||||
# 联系人管理页面
|
||||
@contacts_bp.route('/')
|
||||
@contacts_bp.route('/contacts')
|
||||
@login_required
|
||||
def contacts_management():
|
||||
"""通讯录管理页面"""
|
||||
|
||||
Reference in New Issue
Block a user