dingdanquanliucheng/backend/app/services/config_service.py
2026-05-14 13:51:06 +08:00

11 lines
362 B
Python

class ConfigService:
# 配置服务为后续接 system_config 表预留统一入口。
def get_config(self, config_key: str) -> dict:
return {"config_key": config_key, "config_value": "delivered"}
def update_config(self, config_key: str) -> dict:
return {"config_key": config_key, "updated": True}
config_service = ConfigService()