diff --git a/app/wechat/command/WechatFans.php b/app/wechat/command/WechatFans.php new file mode 100644 index 000000000..c0b6ce463 --- /dev/null +++ b/app/wechat/command/WechatFans.php @@ -0,0 +1,12 @@ +getAppid(); + sysqueue('同步粉丝数据', "xsync:fans {$appid} -", 1, [], 0); + $this->success('创建任务成功,请等待完成!'); + } catch (HttpResponseException $exception) { + throw $exception; + } catch (\Exception $exception) { + $this->error("创建任务失败,{$exception->getMessage()}"); + } + } + /** * 批量拉黑粉丝 * @auth true