后台系统配置列表现在只返回当前真实使用的配置项

This commit is contained in:
yml2213
2026-05-27 08:40:03 +08:00
parent 80c7bb18bb
commit 8cbd06dca4
8 changed files with 144 additions and 18 deletions
@@ -0,0 +1,17 @@
-- 清理未接入业务逻辑的历史/预留系统配置,避免后台配置列表产生误解。
DELETE FROM system_configs
WHERE `key` IN (
'deposit.min_amount',
'platform.fee_ratio',
'realname.required_for_order',
'risk.sms_limit_per_ip_hour',
'risk.sms_limit_per_phone_hour',
'settlement.owner_cycle_days',
'settlement.platform_fee_rate',
'sms.rate_limit_per_hour',
'sms.rate_limit_per_minute',
'wallet.min_deposit',
'withdraw.min_amount',
'order.handoff_timeout_minutes',
'order.return_timeout_minutes'
);