| 程序包 | 说明 |
|---|---|
| org.kangspace.wechat.config |
配置相关包
含常量,微信相关API URL及其他配置
properties文件读取
|
| org.kangspace.wechat.oauth2 |
网页授权相关包
接口:
跳转到网页授权地址
new OAuth2InterfaceAccess().redirectToAuthorizeUrl();
获取网页授权AccessToken,含openId
new OAuth2InterfaceAccess().getAccessToken()
|
| 类和说明 |
|---|
| WeChatConfig.AppIdSecret
AppId,AppSecret组合对象
|
| WeChatConfig.OAth2Scope
网页授权 作用域
|
| 类和说明 |
|---|
| WeChatConfig.OAth2Scope
网页授权 作用域
|
Copyright © 2020. All rights reserved.