🆕 #3077【小程序】增加openApi管理的接口支持

This commit is contained in:
水依寒
2023-07-12 11:04:59 +08:00
committed by GitHub
parent 9bd7940195
commit 831aac31ba
10 changed files with 362 additions and 4 deletions

View File

@@ -10,6 +10,30 @@ import lombok.experimental.UtilityClass;
*/
@UtilityClass
public class WxMaApiUrlConstants {
/**
* openApi管理
*/
public interface OpenApi {
/**
* 重置API调用次数
*/
String CLEAR_QUOTA = "https://api.weixin.qq.com/cgi-bin/clear_quota";
/**
* 查询API调用额度
*/
String GET_API_QUOTA = "https://api.weixin.qq.com/cgi-bin/openapi/quota/get";
/**
* 查询rid信息
*/
String GET_RID_INFO = "https://api.weixin.qq.com/cgi-bin/openapi/rid/get";
/**
* 使用AppSecret重置 API 调用次数
*/
String CLEAR_QUOTA_BY_APP_SECRET = "https://api.weixin.qq.com/cgi-bin/clear_quota/v2?appid=%s&appsecret=%s";
}
public interface Analysis {
String GET_DAILY_SUMMARY_TREND_URL = "https://api.weixin.qq.com/datacube/getweanalysisappiddailysummarytrend";
String GET_DAILY_VISIT_TREND_URL = "https://api.weixin.qq.com/datacube/getweanalysisappiddailyvisittrend";