管理后台 server 使用蓝图模式,降低维护成本,降低修改功能时对其他模块的影响
This commit is contained in:
@@ -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")
|
||||
|
||||
# 联系人管理页面
|
||||
|
||||
Reference in New Issue
Block a user