24 lines
605 B
Python
24 lines
605 B
Python
"""
|
|
backend/app/env_persistence.py
|
|
|
|
用途:兼容层 — 权威实现位于 app.core.config.env_persistence。
|
|
依赖:app.core.config.env_persistence。
|
|
逻辑:WeCom 等运行时配置 DB 持久化;create_app before_request 调用 apply_env_settings。
|
|
"""
|
|
|
|
from app.core.config.env_persistence import ( # noqa: F401
|
|
BACKEND_ENV_PATH,
|
|
LEGACY_BACKEND_ENV_PATH,
|
|
ROOT_ENV_LOCAL_PATH,
|
|
apply_env_settings,
|
|
persist_env_settings,
|
|
)
|
|
|
|
__all__ = [
|
|
'BACKEND_ENV_PATH',
|
|
'LEGACY_BACKEND_ENV_PATH',
|
|
'ROOT_ENV_LOCAL_PATH',
|
|
'apply_env_settings',
|
|
'persist_env_settings',
|
|
]
|