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

This commit is contained in:
liuwei
2025-04-03 12:08:53 +08:00
parent 43a6d39b4c
commit 343fc2060f
2 changed files with 10 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ from .auth import login_required
import logging
# 创建联系人管理蓝图
contacts_bp = Blueprint('contacts', __name__, url_prefix='/contacts')
contacts_bp = Blueprint('contacts', __name__)
logger = logging.getLogger("ContactsBlueprint")
# 联系人管理页面