PHP Class Thenbsp\Wechat\User\User

Datei anzeigen Open project: thenbsp/wechat

Protected Properties

Property Type Description
$accessToken Thenbsp\Wechat\Wechat\AccessToken

Public Methods

Method Description
__construct ( AccessToken $accessToken ) 构造方法
get ( $openid, $lang = 'zh_CN' ) 获取用户信息
getBetch ( array $openid, $lang = 'zh_CN' ) 批量获取用户信息
lists ( $nextOpenid = null ) 查询用户列表

Method Details

__construct() public method

构造方法
public __construct ( AccessToken $accessToken )
$accessToken Thenbsp\Wechat\Wechat\AccessToken

get() public method

获取用户信息
public get ( $openid, $lang = 'zh_CN' )

getBetch() public method

批量获取用户信息
public getBetch ( array $openid, $lang = 'zh_CN' )
$openid array

lists() public method

查询用户列表
public lists ( $nextOpenid = null )

Property Details

$accessToken protected_oe property

Thenbsp\Wechat\Wechat\AccessToken
protected $accessToken