public abstract class BaseWxCpTpServiceImpl<H,P> extends java.lang.Object implements WxCpTpService, me.chanjar.weixin.common.util.http.RequestHttp<H,P>
| 限定符和类型 | 字段和说明 |
|---|---|
protected WxCpTpConfigStorage |
configStorage |
protected java.lang.Object |
globalAuthCorpJsApiTicketRefreshLock
全局的是否正在刷新auth_corp_jsapi_ticket的锁.
|
protected java.lang.Object |
globalJsApiTicketRefreshLock
全局的是否正在刷新jsapi_ticket的锁.
|
protected java.lang.Object |
globalProviderTokenRefreshLock |
protected java.lang.Object |
globalSuiteAccessTokenRefreshLock
全局的是否正在刷新access token的锁.
|
protected java.lang.Object |
globalSuiteTicketRefreshLock
全局刷新suite ticket的锁
|
| 构造器和说明 |
|---|
BaseWxCpTpServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkSignature(java.lang.String msgSignature,
java.lang.String timestamp,
java.lang.String nonce,
java.lang.String data)
验证推送过来的消息的正确性
详情请见: https://work.weixin.qq.com/api/doc#90000/90139/90968/消息体签名校验
|
me.chanjar.weixin.common.bean.WxJsapiSignature |
createAuthCorpJsApiTicketSignature(java.lang.String url,
java.lang.String authCorpId)
创建机构级jsApiTicket签名
详情参见企业微信第三方应用开发文档:https://work.weixin.qq.com/api/doc/90001/90144/90539
|
me.chanjar.weixin.common.bean.WxJsapiSignature |
createSuiteJsApiTicketSignature(java.lang.String url,
java.lang.String authCorpId)
创建应用级jsapiTicket签名
详情参见企业微信第三方应用开发文档:https://work.weixin.qq.com/api/doc/90001/90144/90539
|
<T,E> T |
execute(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data)
向微信端发送请求,在这里执行的策略是当发生access_token过期时才去刷新,然后重新执行请求,而不是全局定时请求.
|
<T,E> T |
execute(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data,
boolean withoutSuiteAccessToken) |
protected <T,E> T |
executeInternal(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data) |
protected <T,E> T |
executeInternal(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data,
boolean withoutSuiteAccessToken) |
void |
expireAccessToken(java.lang.String authCorpId)
使机构accessToken缓存失效
|
void |
expireAuthCorpJsApiTicket(java.lang.String authCorpId)
使机构jsapiticket缓存失效
|
void |
expireAuthSuiteJsApiTicket(java.lang.String authCorpId)
使应用jsapiticket失效
|
void |
expireProviderToken()
使供应商accessToken失效
|
void |
expireSuiteAccessToken()
使套件accessToken缓存失效
|
java.lang.String |
get(java.lang.String url,
java.lang.String queryParam)
当本Service没有实现某个API的时候,可以用这个,针对所有微信API中的GET请求.
|
java.lang.String |
get(java.lang.String url,
java.lang.String queryParam,
boolean withoutSuiteAccessToken)
当本Service没有实现某个API的时候,可以用这个,针对所有微信API中的GET请求.
|
WxCpTpAdmin |
getAdminList(java.lang.String authCorpId,
java.lang.Integer agentId)
获取应用的管理员列表
|
java.lang.String |
getAuthCorpJsApiTicket(java.lang.String authCorpId)
获取授权企业的 jsapi ticket
|
java.lang.String |
getAuthCorpJsApiTicket(java.lang.String authCorpId,
boolean forceRefresh)
获取授权企业的 jsapi ticket, 支持强制刷新
|
WxCpTpAuthInfo |
getAuthInfo(java.lang.String authCorpId,
java.lang.String permanentCode)
获取企业的授权信息
|
me.chanjar.weixin.common.bean.WxAccessToken |
getCorpToken(java.lang.String authCorpId,
java.lang.String permanentCode)
获取企业凭证
|
me.chanjar.weixin.common.bean.WxAccessToken |
getCorpToken(java.lang.String authCorpId,
java.lang.String permanentCode,
boolean forceRefresh)
获取企业凭证, 支持强制刷新
|
WxTpLoginInfo |
getLoginInfo(java.lang.String authCode)
获取登录用户信息
文档地址:https://work.weixin.qq.com/api/doc/90001/90143/91125
|
WxCpTpCorp |
getPermanentCode(java.lang.String authCode)
获取企业永久授权码 .
|
WxCpTpPermanentCodeInfo |
getPermanentCodeInfo(java.lang.String authCode)
获取企业永久授权码信息
原来的方法实现不全
|
java.lang.String |
getPreAuthUrl(java.lang.String redirectUri,
java.lang.String state)
获取预授权链接
|
java.lang.String |
getPreAuthUrl(java.lang.String redirectUri,
java.lang.String state,
int authType)
获取预授权链接,测试环境下使用
https ://work.weixin.qq.com/api/doc/90001/90143/90602
|
me.chanjar.weixin.common.util.http.RequestHttp<?,?> |
getRequestHttp()
http请求对象.
|
me.chanjar.weixin.common.session.WxSessionManager |
getSessionManager()
获取WxSessionManager 对象
|
java.lang.String |
getSuiteAccessToken()
获取suite_access_token, 不强制刷新suite_access_token
|
me.chanjar.weixin.common.bean.WxAccessToken |
getSuiteAccessTokenEntity()
获取suite_access_token和剩余过期时间, 不强制刷新suite_access_token
|
me.chanjar.weixin.common.bean.WxAccessToken |
getSuiteAccessTokenEntity(boolean forceRefresh)
获取suite_access_token和剩余过期时间, 支持强制刷新suite_access_token
|
java.lang.String |
getSuiteJsApiTicket(java.lang.String authCorpId)
获取应用的 jsapi ticket
|
java.lang.String |
getSuiteJsApiTicket(java.lang.String authCorpId,
boolean forceRefresh)
获取应用的 jsapi ticket, 支持强制刷新
|
java.lang.String |
getSuiteTicket()
获得suite_ticket,不强制刷新suite_ticket
|
java.lang.String |
getSuiteTicket(boolean forceRefresh)
获得suite_ticket
由于suite_ticket是微信服务器定时推送(每10分钟),不能主动获取,如果碰到过期只能抛异常
详情请见:https://work.weixin.qq.com/api/doc#90001/90143/90628
|
java.io.File |
getTmpDirFile() |
WxCpTpUserDetail |
getUserDetail3rd(java.lang.String userTicket)
获取访问用户敏感信息
|
WxCpTpUserInfo |
getUserInfo3rd(java.lang.String code)
获取访问用户身份
|
java.lang.String |
getWxCpProviderToken()
获取服务商providerToken
|
WxCpProviderToken |
getWxCpProviderTokenEntity()
获取服务商providerToken和剩余过期时间
|
WxCpProviderToken |
getWxCpProviderTokenEntity(boolean forceRefresh)
获取服务商providerToken和剩余过期时间,支持强制刷新
|
WxCpTpContactService |
getWxCpTpContactService()
get contact service
|
WxCpTpDepartmentService |
getWxCpTpDepartmentService()
get department service
|
WxCpTpMediaService |
getWxCpTpMediaService()
get media service
|
WxCpTpOAService |
getWxCpTpOAService()
get oa service
|
WxCpTpUserService |
getWxCpTpUserService()
get user service
|
WxCpMaJsCode2SessionResult |
jsCode2Session(java.lang.String jsCode)
小程序登录凭证校验
|
java.lang.String |
post(java.lang.String url,
java.lang.String postData)
当本Service没有实现某个API的时候,可以用这个,针对所有微信API中的POST请求.
|
java.lang.String |
post(java.lang.String url,
java.lang.String postData,
boolean withoutSuiteAccessToken) |
void |
setMaxRetryTimes(int maxRetryTimes)
设置当微信系统响应系统繁忙时,最大重试次数.
|
void |
setRetrySleepMillis(int retrySleepMillis)
设置当微信系统响应系统繁忙时,要等待多少 retrySleepMillis(ms) * 2^(重试次数 - 1) 再发起重试.
|
void |
setSuiteTicket(java.lang.String suiteTicket)
保存企业微信定时推送的suite_ticket,(每10分钟)
详情请见:https://work.weixin.qq.com/api/doc#90001/90143/90628
注意:微信不是固定10分钟推送suite_ticket的, 且suite_ticket的有效期为30分钟
https://work.weixin.qq.com/api/doc/10975#%E8%8E%B7%E5%8F%96%E7%AC%AC%E4%B8%89%E6%96%B9%E5%BA%94%E7%94%A8%E5%87%AD%E8%AF%81
|
void |
setSuiteTicket(java.lang.String suiteTicket,
int expiresInSeconds)
保存企业微信定时推送的suite_ticket,(每10分钟)
详情请见:https://work.weixin.qq.com/api/doc#90001/90143/90628
注意:微信不是固定10分钟推送suite_ticket的, 且suite_ticket的有效期为30分钟
https://work.weixin.qq.com/api/doc/10975#%E8%8E%B7%E5%8F%96%E7%AC%AC%E4%B8%89%E6%96%B9%E5%BA%94%E7%94%A8%E5%87%AD%E8%AF%81
|
void |
setTmpDirFile(java.io.File tmpDirFile) |
void |
setWxCpTpConfigStorage(WxCpTpConfigStorage wxConfigProvider)
注入
WxCpTpConfigStorage 的实现. |
void |
setWxCpTpContactService(WxCpTpContactService wxCpTpContactService)
set contact service
|
void |
setWxCpTpDepartmentService(WxCpTpDepartmentService wxCpTpDepartmentService)
set department service
|
void |
setWxCpTpMediaService(WxCpTpMediaService wxCpTpMediaService)
set media service
|
void |
setWxCpTpOAService(WxCpTpOAService wxCpTpOAService)
set oa service
|
void |
setWxCpTpUserService(WxCpTpUserService wxCpTpUserService)
set user service
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSuiteAccessToken, getWxCpTpConfigStorage, initHttpprotected final java.lang.Object globalSuiteAccessTokenRefreshLock
protected final java.lang.Object globalSuiteTicketRefreshLock
protected final java.lang.Object globalJsApiTicketRefreshLock
protected final java.lang.Object globalAuthCorpJsApiTicketRefreshLock
protected final java.lang.Object globalProviderTokenRefreshLock
protected WxCpTpConfigStorage configStorage
public boolean checkSignature(java.lang.String msgSignature,
java.lang.String timestamp,
java.lang.String nonce,
java.lang.String data)
WxCpTpService验证推送过来的消息的正确性 详情请见: https://work.weixin.qq.com/api/doc#90000/90139/90968/消息体签名校验
checkSignature 在接口中 WxCpTpServicemsgSignature - 消息签名timestamp - 时间戳nonce - 随机数data - 微信传输过来的数据,有可能是echoStr,有可能是xml消息public java.lang.String getSuiteAccessToken()
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetSuiteAccessToken 在接口中 WxCpTpServiceme.chanjar.weixin.common.error.WxErrorException - the wx error exception#getSuiteAccessToken(boolean)#getSuiteAccessToken(boolean)public me.chanjar.weixin.common.bean.WxAccessToken getSuiteAccessTokenEntity()
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetSuiteAccessTokenEntity 在接口中 WxCpTpServiceme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic me.chanjar.weixin.common.bean.WxAccessToken getSuiteAccessTokenEntity(boolean forceRefresh)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetSuiteAccessTokenEntity 在接口中 WxCpTpServiceforceRefresh - 是否调用微信服务器强制刷新tokenme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String getSuiteTicket()
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetSuiteTicket 在接口中 WxCpTpServiceme.chanjar.weixin.common.error.WxErrorException - the wx error exception#getSuiteTicket(boolean)#getSuiteTicket(boolean)public java.lang.String getSuiteTicket(boolean forceRefresh)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpService获得suite_ticket 由于suite_ticket是微信服务器定时推送(每10分钟),不能主动获取,如果碰到过期只能抛异常 详情请见:https://work.weixin.qq.com/api/doc#90001/90143/90628
getSuiteTicket 在接口中 WxCpTpServiceforceRefresh - 强制刷新me.chanjar.weixin.common.error.WxErrorException - the wx error exception#setSuiteTicket(String)public void setSuiteTicket(java.lang.String suiteTicket)
WxCpTpService保存企业微信定时推送的suite_ticket,(每10分钟) 详情请见:https://work.weixin.qq.com/api/doc#90001/90143/90628 注意:微信不是固定10分钟推送suite_ticket的, 且suite_ticket的有效期为30分钟 https://work.weixin.qq.com/api/doc/10975#%E8%8E%B7%E5%8F%96%E7%AC%AC%E4%B8%89%E6%96%B9%E5%BA%94%E7%94%A8%E5%87%AD%E8%AF%81
setSuiteTicket 在接口中 WxCpTpServicesuiteTicket - the suite ticketpublic void setSuiteTicket(java.lang.String suiteTicket,
int expiresInSeconds)
WxCpTpService保存企业微信定时推送的suite_ticket,(每10分钟) 详情请见:https://work.weixin.qq.com/api/doc#90001/90143/90628 注意:微信不是固定10分钟推送suite_ticket的, 且suite_ticket的有效期为30分钟 https://work.weixin.qq.com/api/doc/10975#%E8%8E%B7%E5%8F%96%E7%AC%AC%E4%B8%89%E6%96%B9%E5%BA%94%E7%94%A8%E5%87%AD%E8%AF%81
setSuiteTicket 在接口中 WxCpTpServicesuiteTicket - the suite ticketexpiresInSeconds - the expires in secondspublic java.lang.String getSuiteJsApiTicket(java.lang.String authCorpId)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetSuiteJsApiTicket 在接口中 WxCpTpServiceauthCorpId - 授权企业的cropIdme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String getSuiteJsApiTicket(java.lang.String authCorpId,
boolean forceRefresh)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetSuiteJsApiTicket 在接口中 WxCpTpServiceauthCorpId - authCorpIdforceRefresh - forceRefreshme.chanjar.weixin.common.error.WxErrorException - 出错抛出异常public java.lang.String getAuthCorpJsApiTicket(java.lang.String authCorpId)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetAuthCorpJsApiTicket 在接口中 WxCpTpServiceauthCorpId - 授权企业的cropIdme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String getAuthCorpJsApiTicket(java.lang.String authCorpId,
boolean forceRefresh)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetAuthCorpJsApiTicket 在接口中 WxCpTpServiceauthCorpId - authCorpIdforceRefresh - forceRefreshme.chanjar.weixin.common.error.WxErrorException - 出错抛出异常public WxCpMaJsCode2SessionResult jsCode2Session(java.lang.String jsCode) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicejsCode2Session 在接口中 WxCpTpServicejsCode - 登录时获取的 codeme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic me.chanjar.weixin.common.bean.WxAccessToken getCorpToken(java.lang.String authCorpId,
java.lang.String permanentCode)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetCorpToken 在接口中 WxCpTpServiceauthCorpId - 授权方corpidpermanentCode - 永久授权码,通过get_permanent_code获取me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic me.chanjar.weixin.common.bean.WxAccessToken getCorpToken(java.lang.String authCorpId,
java.lang.String permanentCode,
boolean forceRefresh)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetCorpToken 在接口中 WxCpTpServiceauthCorpId - authCorpIdpermanentCode - permanentCodeforceRefresh - forceRefreshme.chanjar.weixin.common.error.WxErrorException - 出错抛出异常public WxCpTpCorp getPermanentCode(java.lang.String authCode) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetPermanentCode 在接口中 WxCpTpServiceauthCode - .me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic WxCpTpPermanentCodeInfo getPermanentCodeInfo(java.lang.String authCode) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpService原来的方法实现不全
getPermanentCodeInfo 在接口中 WxCpTpServiceauthCode - the auth codeme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String getPreAuthUrl(java.lang.String redirectUri,
java.lang.String state)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpService获取预授权链接
getPreAuthUrl 在接口中 WxCpTpServiceredirectUri - 授权完成后的回调网址state - a-zA-Z0-9的参数值(不超过128个字节),用于第三方自行校验session,防止跨域攻击me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String getPreAuthUrl(java.lang.String redirectUri,
java.lang.String state,
int authType)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpService获取预授权链接,测试环境下使用 https ://work.weixin.qq.com/api/doc/90001/90143/90602
getPreAuthUrl 在接口中 WxCpTpServiceredirectUri - 授权完成后的回调网址state - a-zA-Z0-9的参数值(不超过128个字节),用于第三方自行校验session,防止跨域攻击authType - 授权类型:0 正式授权, 1 测试授权。me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic WxCpTpAuthInfo getAuthInfo(java.lang.String authCorpId, java.lang.String permanentCode) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetAuthInfo 在接口中 WxCpTpServiceauthCorpId - 授权企业的corpIdpermanentCode - 授权企业的永久授权码me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String get(java.lang.String url,
java.lang.String queryParam)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServiceget 在接口中 WxCpTpServiceurl - 接口地址queryParam - 请求参数me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String get(java.lang.String url,
java.lang.String queryParam,
boolean withoutSuiteAccessToken)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServiceget 在接口中 WxCpTpServiceurl - 接口地址queryParam - 请求参数withoutSuiteAccessToken - 请求是否忽略SuiteAccessToken 默认不忽略-falseme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String post(java.lang.String url,
java.lang.String postData)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicepost 在接口中 WxCpTpServiceurl - 接口地址postData - 请求body字符串me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String post(java.lang.String url,
java.lang.String postData,
boolean withoutSuiteAccessToken)
throws me.chanjar.weixin.common.error.WxErrorException
me.chanjar.weixin.common.error.WxErrorExceptionpublic <T,E> T execute(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data)
throws me.chanjar.weixin.common.error.WxErrorException
execute 在接口中 WxCpTpServiceT - 请求值类型E - 返回值类型executor - 执行器uri - 请求地址data - 参数me.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic <T,E> T execute(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data,
boolean withoutSuiteAccessToken)
throws me.chanjar.weixin.common.error.WxErrorException
me.chanjar.weixin.common.error.WxErrorExceptionprotected <T,E> T executeInternal(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data)
throws me.chanjar.weixin.common.error.WxErrorException
me.chanjar.weixin.common.error.WxErrorExceptionprotected <T,E> T executeInternal(me.chanjar.weixin.common.util.http.RequestExecutor<T,E> executor,
java.lang.String uri,
E data,
boolean withoutSuiteAccessToken)
throws me.chanjar.weixin.common.error.WxErrorException
me.chanjar.weixin.common.error.WxErrorExceptionpublic void setWxCpTpConfigStorage(WxCpTpConfigStorage wxConfigProvider)
WxCpTpServiceWxCpTpConfigStorage 的实现.setWxCpTpConfigStorage 在接口中 WxCpTpServicewxConfigProvider - 配置对象public void setRetrySleepMillis(int retrySleepMillis)
WxCpTpService设置当微信系统响应系统繁忙时,要等待多少 retrySleepMillis(ms) * 2^(重试次数 - 1) 再发起重试. 默认:1000ms
setRetrySleepMillis 在接口中 WxCpTpServiceretrySleepMillis - 重试休息时间public void setMaxRetryTimes(int maxRetryTimes)
WxCpTpService设置当微信系统响应系统繁忙时,最大重试次数. 默认:5次
setMaxRetryTimes 在接口中 WxCpTpServicemaxRetryTimes - 最大重试次数public java.io.File getTmpDirFile()
public void setTmpDirFile(java.io.File tmpDirFile)
public me.chanjar.weixin.common.util.http.RequestHttp<?,?> getRequestHttp()
WxCpTpServicegetRequestHttp 在接口中 WxCpTpServicepublic me.chanjar.weixin.common.session.WxSessionManager getSessionManager()
WxCpTpServicegetSessionManager 在接口中 WxCpTpServicepublic WxCpTpUserInfo getUserInfo3rd(java.lang.String code) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpService获取访问用户身份
getUserInfo3rd 在接口中 WxCpTpServicecode - the codeme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic WxCpTpUserDetail getUserDetail3rd(java.lang.String userTicket) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpService获取访问用户敏感信息
getUserDetail3rd 在接口中 WxCpTpServiceuserTicket - the user ticketme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic WxTpLoginInfo getLoginInfo(java.lang.String authCode) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpService文档地址:https://work.weixin.qq.com/api/doc/90001/90143/91125
getLoginInfo 在接口中 WxCpTpServiceauthCode - the auth codeme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic java.lang.String getWxCpProviderToken()
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetWxCpProviderToken 在接口中 WxCpTpServiceme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic WxCpProviderToken getWxCpProviderTokenEntity() throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetWxCpProviderTokenEntity 在接口中 WxCpTpServiceme.chanjar.weixin.common.error.WxErrorException - 出错抛出异常public WxCpProviderToken getWxCpProviderTokenEntity(boolean forceRefresh) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetWxCpProviderTokenEntity 在接口中 WxCpTpServiceforceRefresh - forceRefreshme.chanjar.weixin.common.error.WxErrorException - 出错抛出异常public WxCpTpContactService getWxCpTpContactService()
WxCpTpServicegetWxCpTpContactService 在接口中 WxCpTpServicepublic WxCpTpDepartmentService getWxCpTpDepartmentService()
WxCpTpServicegetWxCpTpDepartmentService 在接口中 WxCpTpServicepublic WxCpTpMediaService getWxCpTpMediaService()
WxCpTpServicegetWxCpTpMediaService 在接口中 WxCpTpServicepublic WxCpTpOAService getWxCpTpOAService()
WxCpTpServicegetWxCpTpOAService 在接口中 WxCpTpServicepublic WxCpTpUserService getWxCpTpUserService()
WxCpTpServicegetWxCpTpUserService 在接口中 WxCpTpServicepublic void setWxCpTpContactService(WxCpTpContactService wxCpTpContactService)
WxCpTpServicesetWxCpTpContactService 在接口中 WxCpTpServicewxCpTpContactService - the contact servicepublic void setWxCpTpDepartmentService(WxCpTpDepartmentService wxCpTpDepartmentService)
WxCpTpServicesetWxCpTpDepartmentService 在接口中 WxCpTpServicewxCpTpDepartmentService - the department servicepublic void setWxCpTpMediaService(WxCpTpMediaService wxCpTpMediaService)
WxCpTpServicesetWxCpTpMediaService 在接口中 WxCpTpServicewxCpTpMediaService - the media servicepublic void setWxCpTpOAService(WxCpTpOAService wxCpTpOAService)
WxCpTpServicesetWxCpTpOAService 在接口中 WxCpTpServicewxCpTpOAService - the oa servicepublic void setWxCpTpUserService(WxCpTpUserService wxCpTpUserService)
WxCpTpServicesetWxCpTpUserService 在接口中 WxCpTpServicewxCpTpUserService - the set user servicepublic WxCpTpAdmin getAdminList(java.lang.String authCorpId, java.lang.Integer agentId) throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicegetAdminList 在接口中 WxCpTpServiceauthCorpId - the auth corp idagentId - the agent idme.chanjar.weixin.common.error.WxErrorException - the wx error exceptionpublic me.chanjar.weixin.common.bean.WxJsapiSignature createAuthCorpJsApiTicketSignature(java.lang.String url,
java.lang.String authCorpId)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicecreateAuthCorpJsApiTicketSignature 在接口中 WxCpTpServiceurl - 调用JS接口页面的完整URLauthCorpId - authCorpIdme.chanjar.weixin.common.error.WxErrorException - 出错抛出异常public me.chanjar.weixin.common.bean.WxJsapiSignature createSuiteJsApiTicketSignature(java.lang.String url,
java.lang.String authCorpId)
throws me.chanjar.weixin.common.error.WxErrorException
WxCpTpServicecreateSuiteJsApiTicketSignature 在接口中 WxCpTpServiceurl - 调用JS接口页面的完整URLauthCorpId - authCorpIdme.chanjar.weixin.common.error.WxErrorException - 出错抛出异常public void expireSuiteAccessToken()
WxCpTpServiceexpireSuiteAccessToken 在接口中 WxCpTpServicepublic void expireAccessToken(java.lang.String authCorpId)
WxCpTpServiceexpireAccessToken 在接口中 WxCpTpServiceauthCorpId - 机构idpublic void expireAuthCorpJsApiTicket(java.lang.String authCorpId)
WxCpTpServiceexpireAuthCorpJsApiTicket 在接口中 WxCpTpServiceauthCorpId - 机构idpublic void expireAuthSuiteJsApiTicket(java.lang.String authCorpId)
WxCpTpServiceexpireAuthSuiteJsApiTicket 在接口中 WxCpTpServiceauthCorpId - 机构idpublic void expireProviderToken()
WxCpTpServiceexpireProviderToken 在接口中 WxCpTpService