public interface WxMaOpenApiService
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
clearQuota()
本接口用于清空公众号/小程序/第三方平台等接口的每日调用接口次数
|
boolean |
clearQuotaByAppSecret()
使用AppSecret重置 API 调用次数
|
WxMiniGetApiQuotaResult |
getApiQuota(String cgiPath)
查询API调用额度
|
WxMiniGetRidInfoResult |
getRidInfo(String rid)
查询rid信息
|
boolean clearQuota()
throws WxErrorException
WxErrorException - the wx error exceptionWxMiniGetApiQuotaResult getApiQuota(String cgiPath) throws WxErrorException
cgiPath - api的请求地址,
例如"/cgi-bin/message/custom/send";不要前缀“https://api.weixin.qq.com” ,也不要漏了"/",否则都会76003的报错;WxErrorException - 微信异常WxMiniGetRidInfoResult getRidInfo(String rid) throws WxErrorException
rid - 调用接口报错返回的ridWxErrorException - 微信异常boolean clearQuotaByAppSecret()
throws WxErrorException
WxErrorException - 微信异常Copyright © 2024. All rights reserved.