diff --git a/application/wechat/controller/Fans.php b/application/wechat/controller/Fans.php index 06c5bcc26..5c502eab0 100644 --- a/application/wechat/controller/Fans.php +++ b/application/wechat/controller/Fans.php @@ -179,8 +179,7 @@ class Fans extends BasicAdmin { try { Db::name($this->table)->where('1=1')->delete(); - FansService::sync(); - TagsService::sync(); + [FansService::sync(), TagsService::sync()]; LogService::write('微信管理', '同步全部微信粉丝成功'); } catch (\Exception $e) { $this->error('同步粉丝记录失败,请稍候再试!' . $e->getMessage());