配置改为数据库存储

将运行时 JSON 配置迁入 app_config_entries,启动时从文件导入并删除源文件。
This commit is contained in:
yml2213
2026-07-10 09:14:12 +08:00
parent ce01c2aa34
commit 3642ad8aec
20 changed files with 577 additions and 251 deletions
@@ -0,0 +1,10 @@
export const APP_CONFIG_KEYS = {
notification: 'notification',
scheduledJobs: 'scheduled_jobs',
fulfillmentRouting: 'fulfillment_routing',
cloudtentaclesSources: 'cloudtentacles_sources',
cloudtentaclesSession: 'cloudtentacles_session',
cloudtentaclesOverrideRules: 'cloudtentacles_override_rules',
kuaishouFeifei: 'kuaishou_feifei',
kuaishouIndustrySource: 'kuaishou_industry_source',
} as const