Browse Source

增加粉丝更新事件

Anyon 4 years ago
parent
commit
746cc5d2b4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/wechat/service/FansService.php

+ 1 - 0
app/wechat/service/FansService.php

@@ -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');
     }