✏️ 正在编辑: ReprocessarAtendimentos.php
路径:
/srv/systems_dir/yuppiecred-bkp/application/Modules/Core/Command/ReprocessarAtendimentos.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php namespace Modules\Core\Command; use Modules\Automatizacao\Model\DbTable\AutomatizacaoTable; use Modules\Callcenter\Service\ReprocessamentoService; class ReprocessarAtendimentos extends CommandAbstract { public static function run($event) { parent::run($event); if ((new AutomatizacaoTable())->first()->isReprocessarAtendimentos()) { $log = self::initProcess(self::class); try { self::echoSuccess("- Percorrendo campanhas", null, self::class); (new ReprocessamentoService())->reprocessarAtendimentos(); } catch (\Throwable $throwable) { self::endWithErro($log, $throwable); } self::endProcess($log); } } }
💾 保存文件
← 返回文件管理器