From 7e00f1db8683f1fda05b329be4dbc99cd50818dd Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 2 Apr 2018 12:29:34 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Fans.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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());