mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-02 16:32:14 +00:00
fix(notify): use real-time balance for crossing detection and simplify email logic
- Fix cached balance causing threshold crossing to never trigger: read real-time balance from billingCacheService instead of stale API key auth snapshot - Remove email="" placeholder concept; all emails are user-managed - Only send notifications to verified && non-disabled emails - Frontend: pre-fill user's email in add input when list is empty - Remove FilterEnabledEmails/IsPrimaryDisabled helpers (no longer needed)
This commit is contained in:
1 parent
915b7a4a56
commit
31550a2c6a
6 files changed
+34
-55
No files matched your search
@@ -932,6 +932,7 @@ export default {
|
||||
emailDuplicate: 'This email already exists',
|
||||
maxEmailsReached: 'Maximum number of notification emails reached',
|
||||
unverified: 'Unverified',
|
||||
verified: 'Verified',
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -936,6 +936,7 @@ export default {
|
||||
emailDuplicate: '该邮箱已存在',
|
||||
maxEmailsReached: '已达到通知邮箱数量上限',
|
||||
unverified: '未验证',
|
||||
verified: '已验证',
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user