Browse Source

[更新]完善微信粉丝列表

邹景立 8 years ago
parent
commit
fa6cbb4e1f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/wechat/controller/Fans.php

+ 1 - 0
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{