From: Aleksey Filippov Date: Fri, 4 Jul 2025 16:53:03 +0000 (+0300) Subject: [BC-278] Отправка сообщения в Телеграм X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=05ce162a24921e7c097486174990aa5ed99a71eb;p=erp24_rep%2Fyii-erp24%2F.git [BC-278] Отправка сообщения в Телеграм --- diff --git a/erp24/actions/infoTable/TestAction.php b/erp24/actions/infoTable/TestAction.php index ba98c1bf..79202309 100644 --- a/erp24/actions/infoTable/TestAction.php +++ b/erp24/actions/infoTable/TestAction.php @@ -43,6 +43,7 @@ class TestAction extends Action $chats = [ '337084327', + '730432579', // '1813871861' diff --git a/erp24/commands/CronController.php b/erp24/commands/CronController.php index a43c9f7f..3d6ee9f5 100644 --- a/erp24/commands/CronController.php +++ b/erp24/commands/CronController.php @@ -693,7 +693,7 @@ class CronController extends Controller $toSend = UsersTelegram::find() ->where(['is_blocked' => 0, 'is_registered' => 1]) ->select(['phone', 'chat_id']) - ->where(['phone' => '79036571587']) + ->where(['phone' => ['79036571587', '79788649472']]) ->asArray() ->all();