Merge branch 'main' of https://get.feep.ir/khaneghi_abshodeh/khaneghi_server
This commit is contained in:
@@ -59,10 +59,11 @@ class SmsAlertService
|
|||||||
/** @return list<string> */
|
/** @return list<string> */
|
||||||
private function alertRecipients(): array
|
private function alertRecipients(): array
|
||||||
{
|
{
|
||||||
|
// پیامکهای سوپرادمین/کیف پول: همه ادمینهای فعال — بدون شرط send_sms
|
||||||
|
// (سوییچ send_sms فقط برای بقیه اعلانهای داخلی محصول است)
|
||||||
$numbers = [SmsWalletService::SUPER_ADMIN_MOBILE];
|
$numbers = [SmsWalletService::SUPER_ADMIN_MOBILE];
|
||||||
|
|
||||||
$adminNumbers = User::query()
|
$adminNumbers = User::query()
|
||||||
->where('send_sms', true)
|
|
||||||
->where('active', true)
|
->where('active', true)
|
||||||
->pluck('mobile')
|
->pluck('mobile')
|
||||||
->all();
|
->all();
|
||||||
|
|||||||
Reference in New Issue
Block a user