فهرست منبع

修改粉丝同步列表

Anyon 5 سال پیش
والد
کامیت
417ffb8b4d

+ 1 - 1
app/wechat/command/fans/FansAll.php

@@ -27,6 +27,6 @@ class FansAll extends Fans
     protected function configure()
     {
         $this->module = ['list', 'black', 'tags'];
-        $this->setName('xfans:all')->setDescription('[同步]所有微信粉丝的数据');
+        $this->setName('xsync:fansall')->setDescription('[同步]所有微信粉丝的数据');
     }
 }

+ 1 - 1
app/wechat/command/fans/FansBlack.php

@@ -27,6 +27,6 @@ class FansBlack extends Fans
     protected function configure()
     {
         $this->module = ['black'];
-        $this->setName('xfans:black')->setDescription('[同步]微信黑名单粉丝数据');
+        $this->setName('xsync:fansblack')->setDescription('[同步]微信黑名单粉丝数据');
     }
 }

+ 1 - 1
app/wechat/command/fans/FansList.php

@@ -27,7 +27,7 @@ class FansList extends Fans
     protected function configure()
     {
         $this->module = ['list'];
-        $this->setName('xfans:list')->setDescription('[同步]微信粉丝的资料数据');
+        $this->setName('xsync:fanslist')->setDescription('[同步]微信粉丝的全部列表');
     }
 
 }

+ 1 - 1
app/wechat/command/fans/FansTags.php

@@ -27,6 +27,6 @@ class FansTags extends Fans
     protected function configure()
     {
         $this->module = ['tags'];
-        $this->setName('xfans:tags')->setDescription('[同步]粉丝的标签记录数据');
+        $this->setName('xsync:fanstags')->setDescription('[同步]粉丝的标签记录数据');
     }
 }

+ 1 - 1
app/wechat/controller/Fans.php

@@ -72,7 +72,7 @@ class Fans extends Controller
     {
         try {
             $appid = WechatService::instance()->getAppid();
-            sysqueue('同步粉丝数据', "xsync:fans {$appid} -", 1, [], 0);
+            sysqueue('同步粉丝数据', "xsync:fansall", 1, [], 0);
             $this->success('创建任务成功,请等待完成!');
         } catch (HttpResponseException $exception) {
             throw $exception;