feat(sms): failover SuperAdmin SMS hosts with sticky success cache

Try montzar/montech/montest when wallet panel calls fail; remember last working base for 7 days. No .env change required.
This commit is contained in:
2026-08-24 17:32:55 +03:30
parent dd9a287f24
commit 61dbaf1f0f
2 changed files with 162 additions and 35 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ return [
],
/*
| SuperAdmin SMS wallet (source of truth when both env vars are set).
| SuperAdmin SMS wallet (source of truth when secret/token is set).
| SUPERADMIN_SMS_BASE_URL is optional preferred host; client also fails over to
| adm.montzar.ir / adm.montech.ir / adm.montest.ir automatically (no .env change needed).
| Example: SUPERADMIN_SMS_BASE_URL=https://adm.montzar.ir/api/remote/sms
*/
'superadmin' => [