mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
Components extracted from SettingsView: - providerConfig.ts: shared constants, types, helpers - PaymentProviderList.vue: provider card list with header - ProviderCard.vue: single provider card with inline toggles - ToggleSwitch.vue: reusable toggle switch component - PaymentProviderDialog.vue: create/edit dialog with config + limits Other changes: - Add per-payment-type limits config UI (singleMin, singleMax, dailyLimit) - Remove generic cid from EasyPay config (keep cidAlipay/cidWxpay only) - Backend: remove paymentMode constants, determine mode by PaymentType - Backend: add validateProviderRequest for create - Add limits field to ProviderInstance type - SettingsView reduced by ~200 lines of provider management code