This commit is contained in:
david 2022-10-13 15:10:22 +08:00
parent c644031ab2
commit 49ba219f50
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ class Config
$wx = self::getWeixin(); $wx = self::getWeixin();
foreach ($crontab_configs as $uuid => $item) { foreach ($crontab_configs as $uuid => $item) {
$crontab_configs[$uuid]['notify'] = [ $crontab_configs[$uuid]['notify'] = [
'enable' => $wx['switch'], 'enable' => $wx['switch'] ?? 'on',
'channel' => 'iyuu', 'channel' => 'iyuu',
'notify_on_change' => $wx['notify_on_change'] ?? 'off', 'notify_on_change' => $wx['notify_on_change'] ?? 'off',
]; ];

View File

@ -13,7 +13,7 @@ use app\domain\Config as domainConfig;
*/ */
function IYUU_VERSION(): string function IYUU_VERSION(): string
{ {
return '2.1.8'; return '2.1.9';
} }
/** /**