mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Fans.php
This commit is contained in:
parent
b8ad663178
commit
e270e81223
@ -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'])) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user