Update Fans.php

This commit is contained in:
邹景立 2022-10-27 15:00:55 +08:00
parent b8ad663178
commit e270e81223

View File

@ -67,7 +67,7 @@ class Fans extends Command
protected function _list(string $next = '', int $done = 0): string protected function _list(string $next = '', int $done = 0): string
{ {
$appid = WechatService::getAppid(); $appid = WechatService::getAppid();
$this->process->message(0, 0, '开始获取微信用户数据'); $this->process->message('开始获取微信用户数据');
while (is_string($next)) { while (is_string($next)) {
$result = WechatService::WeChatUser()->getUserList($next); $result = WechatService::WeChatUser()->getUserList($next);
if (is_array($result) && !empty($result['data']['openid'])) { if (is_array($result) && !empty($result['data']['openid'])) {