framework/class/accountweixin.platform.class.php

[WeEngine System] Copyright (c) 2014 WE7.CC WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.

Classes

WeixinPlatform

Constants

ACCOUNT_PLATFORM_API_ACCESSTOKEN

ACCOUNT_PLATFORM_API_ACCESSTOKEN = 'https://api.weixin.qq.com/cgi-bin/component/api_component_token'

ACCOUNT_PLATFORM_API_PREAUTHCODE

ACCOUNT_PLATFORM_API_PREAUTHCODE = 'https://api.weixin.qq.com/cgi-bin/component/api_create_preauthcode?component_access_token='

ACCOUNT_PLATFORM_API_LOGIN

ACCOUNT_PLATFORM_API_LOGIN = 'https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=%s&pre_auth_code=%s&redirect_uri=%s&auth_type=%s'

ACCOUNT_PLATFORM_API_QUERY_AUTH_INFO

ACCOUNT_PLATFORM_API_QUERY_AUTH_INFO = 'https://api.weixin.qq.com/cgi-bin/component/api_query_auth?component_access_token='

ACCOUNT_PLATFORM_API_ACCOUNT_INFO

ACCOUNT_PLATFORM_API_ACCOUNT_INFO = 'https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info?component_access_token='

ACCOUNT_PLATFORM_API_REFRESH_AUTH_ACCESSTOKEN

ACCOUNT_PLATFORM_API_REFRESH_AUTH_ACCESSTOKEN = 'https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token='

ACCOUNT_PLATFORM_API_OAUTH_CODE

ACCOUNT_PLATFORM_API_OAUTH_CODE = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&component_appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect'

ACCOUNT_PLATFORM_API_OAUTH_USERINFO

ACCOUNT_PLATFORM_API_OAUTH_USERINFO = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_userinfo&state=%s&component_appid=%s#wechat_redirect'

ACCOUNT_PLATFORM_API_OAUTH_INFO

ACCOUNT_PLATFORM_API_OAUTH_INFO = 'https://api.weixin.qq.com/sns/oauth2/component/access_token?appid=%s&component_appid=%s&code=%s&grant_type=authorization_code&component_access_token='

ACCOUNT_PLATFORM_API_LOGIN_ACCOUNT

ACCOUNT_PLATFORM_API_LOGIN_ACCOUNT = 1

ACCOUNT_PLATFORM_API_LOGIN_WXAPP

ACCOUNT_PLATFORM_API_LOGIN_WXAPP = 2