<?php
 namespace Module\Vendor\Notice; use ModStart\Core\Util\CurlUtil; use Module\I18n\Util\ConfigUtil; class NoticeUtil { public static function sendConfigNotice($key, $msg = []) { $url = ConfigUtil::get($key); if (empty($url)) { return; } try { CurlUtil::get($url, ['data' => json_encode($msg)]); } catch (\Exception $e) { } } }