作者 王智

baoxiu22

... ... @@ -155,7 +155,7 @@
{:build_heading(null, false)}
<ul class="nav nav-tabs">
<li class="active"><a href="#one" data-toggle="tab">{:__('Dashboard')}</a></li>
<!--<li><a href="#two" data-toggle="tab">{:__('Custom')}</a></li>-->
<li><a href="#two" data-toggle="tab">详细报表</a></li>
</ul>
</div>
<div class="panel-body">
... ...
... ... @@ -377,6 +377,20 @@ class Api
}
}
//获取公众号所有用户信息
public function WeChatUserInfo()
{
//公众号所有粉丝openid
$LikeOpenid = $this->ListOpenid();
$options = [
'app_id' => 'wx3b0bb7a5d1e0722d', // AppID
'secret' => '104ac7dbcc57b778a7319d35d38ed9cd',
];
$app = new Application($options);
$userService = $app->user;
$users = $userService->batchGet($LikeOpenid);
return $users;
}
/**
* 获取公众号AccessToken
... ...