mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
The EasyPay provider reads paymentMode from e.config["paymentMode"] to decide between redirect (submit.php) and API (mapi.php) paths. However, paymentMode is stored as a separate DB column, not inside the encrypted config JSON. SelectInstance() returned it in the InstanceSelection struct but never injected it into the Config map, so the provider always fell through to the API/QR path. Also includes: - Subscription success flow: show "订阅成功" and refresh on return - Active subscription card: platform colors, rate/quota display - Subscription plan card: compact layout to save height - Provider list: drag-and-drop reorder via sort_order