mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 优化部分文档注释
This commit is contained in:
parent
a685e8f3fa
commit
e7f589e1d3
@ -14,7 +14,7 @@ public interface WxOAuth2Service {
|
||||
/**
|
||||
* <pre>
|
||||
* 构造oauth2授权的url连接.
|
||||
* 详情请见: https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html
|
||||
* 详情请见: <a href="https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html">网页授权</a>
|
||||
* </pre>
|
||||
*
|
||||
* @param redirectUri 用户授权完成后的重定向链接,无需urlencode, 方法内会进行encode
|
||||
@ -27,7 +27,7 @@ public interface WxOAuth2Service {
|
||||
/**
|
||||
* <pre>
|
||||
* 用code换取oauth2的access token.
|
||||
* 详情请见: http://mp.weixin.qq.com/wiki/index.php?title=网页授权获取用户基本信息
|
||||
* 详情请见: <a href="https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html">网页授权获取用户基本信息</a>
|
||||
* </pre>
|
||||
*
|
||||
* @param code code
|
||||
|
@ -215,7 +215,7 @@ public class WxCpConsts {
|
||||
*/
|
||||
public static final String DEL_MEMBER = "del_member";
|
||||
/**
|
||||
* 成员退群
|
||||
* 群主变更
|
||||
*/
|
||||
public static final String CHANGE_OWNER = "change_owner";
|
||||
/**
|
||||
@ -228,8 +228,9 @@ public class WxCpConsts {
|
||||
public static final String CHANGE_NOTICE = "change_notice";
|
||||
}
|
||||
}
|
||||
|
||||
@UtilityClass
|
||||
public static class ExternalTagChangeType{
|
||||
public static class ExternalTagChangeType {
|
||||
|
||||
/**
|
||||
* 创建企业客户标签
|
||||
@ -250,7 +251,7 @@ public class WxCpConsts {
|
||||
}
|
||||
|
||||
@UtilityClass
|
||||
public static class TageType{
|
||||
public static class TageType {
|
||||
/**
|
||||
* 标签
|
||||
*/
|
||||
|
@ -408,7 +408,7 @@ public interface WxOpenComponentService {
|
||||
* @return the wx mp o auth 2 access token
|
||||
* @throws WxErrorException the wx error exception
|
||||
* @see WxMpService#getOAuth2Service()
|
||||
* @deprecated 2021-05-21: 已修正公众号相关接口,请使用:WxOpenCommpentService.getWxMpServiceByAppid(mpAppId).getOAuth2Service().getAccessToken(code)
|
||||
* @deprecated 2021-05-21: 已修正公众号相关接口,请使用:WxOpenComponentService.getWxMpServiceByAppid(mpAppId).getOAuth2Service().getAccessToken(code)
|
||||
*/
|
||||
@Deprecated
|
||||
WxOAuth2AccessToken oauth2getAccessToken(String appid, String code) throws WxErrorException;
|
||||
|
@ -28,7 +28,7 @@ public class WxOpenMpOAuth2ServiceImpl extends WxOAuth2ServiceDecorator {
|
||||
|
||||
/**
|
||||
* 第三方平台代公众号发起网页授权
|
||||
* 文档地址:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Official_Accounts/official_account_website_authorization.html
|
||||
* 文档地址:<a href="https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/Before_Develop/Official_Accounts/official_account_website_authorization.html">第三方平台代公众号发起网页授权</a>
|
||||
*
|
||||
* @param code 微信授权code
|
||||
* @return 微信用户信息
|
||||
|
Loading…
Reference in New Issue
Block a user