mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
增加粉丝更新事件
This commit is contained in:
parent
268e7d5461
commit
746cc5d2b4
@ -44,6 +44,7 @@ class FansService extends Service
|
|||||||
}
|
}
|
||||||
if ($appid !== '') $user['appid'] = $appid;
|
if ($appid !== '') $user['appid'] = $appid;
|
||||||
unset($user['privilege'], $user['groupid']);
|
unset($user['privilege'], $user['groupid']);
|
||||||
|
$this->app->event->trigger('WechatFansUpdate', $user);
|
||||||
return !!data_save('WechatFans', $user, 'openid');
|
return !!data_save('WechatFans', $user, 'openid');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user