Merge branch 'hugo-shipping-notice' into dev

# Conflicts:
#	backend/app/services/shipping_notice/receipt_report_notification.py
This commit is contained in:
hugo committed 2026-09-23 01:09:28 +08:00
commit 876a7ade7d
212 files changed
+12056 -2889

No files matched your search

+7
View File
@@ -72,6 +72,13 @@ def create_app(config_name='default'):
register_blueprints(app)
# 能力声明是代码级契约:组合根在每次 create_app 时显式注册各域能力(幂等),
# 保证管理端「能力清单」冷启动即可见,且测试 reset 注册表后建新 app 也能恢复。
# 注意用 from-import:`import app.services...` 会把局部名 app 遮蔽成包模块。
from app.services.in_transit_transfer import capabilities as _transfer_capabilities
_transfer_capabilities.register_transfer_capabilities()
# Eagerly load persisted runtime settings so the very first request after
# a worker boot already sees the admin-saved configuration (otherwise the
# window between worker boot and the first ``before_request`` would still