Property | Type | Description | |
---|---|---|---|
$appid | 用户 access_token 和公众号是一一对应的 |
Method | Description | |
---|---|---|
__construct ( $appid, array $options ) | 构造方法 | |
getAppid ( ) | 公众号 appid | |
getUser ( $lang = 'zh_CN' ) | 获取用户信息 | |
isValid ( ) | 检测用户 access_token 是否有效 | |
refresh ( ) | 刷新用户 access_token |