管理后台 server 使用蓝图模式,降低维护成本,降低修改功能时对其他模块的影响

This commit is contained in:
liuwei
2025-04-03 11:57:48 +08:00
parent 73d9345d7e
commit d337965bce
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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():
"""通讯录管理页面"""