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{