add notify_on_change feature

This commit is contained in:
hxsf
2020-07-24 13:39:22 +08:00
parent 6c06d9fb6a
commit c5c2feb9d3
3 changed files with 99 additions and 0 deletions

View File

@ -851,6 +851,10 @@ class AutoReseed
*/
private static function wechatMessage()
{
global $configALL;
if ($configALL['notify_on_change'] && self::$wechatMsg['reseedSuccess'] == 0 && self::$wechatMsg['reseedError'] == 0) {
return;
}
$br = PHP_EOL;
$text = 'IYUU自动辅种-统计报表';
$desp = '### 版本号:'. self::VER . $br;