From fa6cbb4e1f245a1e972cbf076745e0175a1c28e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Thu, 13 Apr 2017 15:41:42 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E5=AE=8C=E5=96=84=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E7=B2=89=E4=B8=9D=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/wechat/controller/Fans.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/wechat/controller/Fans.php b/application/wechat/controller/Fans.php index f105cc597..24f297e22 100644 --- a/application/wechat/controller/Fans.php +++ b/application/wechat/controller/Fans.php @@ -51,6 +51,7 @@ class Fans extends BasicAdmin { * 同步粉丝列表 */ public function sync(){ + Db::name($this->table)->where('1=1')->delete(); if(WechatService::syncAllFans('')){ $this->success('同步获取所有粉丝成功!',''); }else{