增加粉丝更新事件

This commit is contained in:
Anyon 2021-01-13 22:18:35 +08:00
parent 268e7d5461
commit 746cc5d2b4

View File

@ -44,6 +44,7 @@ class FansService extends Service
}
if ($appid !== '') $user['appid'] = $appid;
unset($user['privilege'], $user['groupid']);
$this->app->event->trigger('WechatFansUpdate', $user);
return !!data_save('WechatFans', $user, 'openid');
}