From 417ffb8b4dde75471e17e8b551c5eaa7970d28ca Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 10 Dec 2019 11:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B2=89=E4=B8=9D=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/wechat/command/fans/FansAll.php | 2 +- app/wechat/command/fans/FansBlack.php | 2 +- app/wechat/command/fans/FansList.php | 2 +- app/wechat/command/fans/FansTags.php | 2 +- app/wechat/controller/Fans.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/wechat/command/fans/FansAll.php b/app/wechat/command/fans/FansAll.php index de5bbf474..608f1928e 100644 --- a/app/wechat/command/fans/FansAll.php +++ b/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('[同步]所有微信粉丝的数据'); } } diff --git a/app/wechat/command/fans/FansBlack.php b/app/wechat/command/fans/FansBlack.php index e0aac7c90..54608c921 100644 --- a/app/wechat/command/fans/FansBlack.php +++ b/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('[同步]微信黑名单粉丝数据'); } } diff --git a/app/wechat/command/fans/FansList.php b/app/wechat/command/fans/FansList.php index 32b98710b..0290f5f31 100644 --- a/app/wechat/command/fans/FansList.php +++ b/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('[同步]微信粉丝的全部列表'); } } diff --git a/app/wechat/command/fans/FansTags.php b/app/wechat/command/fans/FansTags.php index 317b26e52..e01a562ac 100644 --- a/app/wechat/command/fans/FansTags.php +++ b/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('[同步]粉丝的标签记录数据'); } } diff --git a/app/wechat/controller/Fans.php b/app/wechat/controller/Fans.php index 17b400d2d..5e4283f69 100644 --- a/app/wechat/controller/Fans.php +++ b/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;