\WxAppPlatform

Summary

Methods
Properties
Constants
__construct()
fetchAccountInfo()
accountDisplayUrl()
getAuthLoginUrl()
getOauthInfo()
pkcs7Encode()
result()
No public properties found
JSCODEURL
setAuthRefreshToken()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

JSCODEURL

JSCODEURL = 'https://api.weixin.qq.com/sns/component/jscode2session?appid=%s&js_code=%s&grant_type=authorization_code&component_appid=%s&component_access_token=%s'

Methods

__construct()

__construct(  $account = array()) 

Parameters

$account

fetchAccountInfo()

fetchAccountInfo() 

accountDisplayUrl()

accountDisplayUrl() 

getAuthLoginUrl()

getAuthLoginUrl() 

getOauthInfo()

getOauthInfo(  $code = '') 

Parameters

$code

pkcs7Encode()

pkcs7Encode(  $encrypt_data,   $iv) 

Parameters

$encrypt_data
$iv

result()

result(  $errno,   $message = '',   $data = '') 

Parameters

$errno
$message
$data

setAuthRefreshToken()

setAuthRefreshToken(  $token) 

Parameters

$token