mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
🆕 #3077【小程序】增加openApi管理的接口支持
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package cn.binarywang.wx.miniapp.bean.openapi;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 查询API调用额度 返回数据
|
||||
*
|
||||
* @author shuiyihan12
|
||||
* @since 2023/7/10 16:52
|
||||
*/
|
||||
@Data
|
||||
public class WxMiniGetApiQuotaResult {
|
||||
|
||||
/**
|
||||
* 当天该账号可调用该接口的次数
|
||||
*/
|
||||
@SerializedName("daily_limit")
|
||||
private Integer dailyLimit;
|
||||
/**
|
||||
* 当天已经调用的次数
|
||||
*/
|
||||
private Integer used;
|
||||
/**
|
||||
* 当天剩余调用次数
|
||||
*/
|
||||
private Integer remain;
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package cn.binarywang.wx.miniapp.bean.openapi;
|
||||
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 查询rid信息 返回数据
|
||||
* @author shuiyihan12
|
||||
* @since 2023/7/10 16:53
|
||||
*/
|
||||
@Data
|
||||
public class WxMiniGetRidInfoResult {
|
||||
|
||||
/**
|
||||
* 发起请求的时间戳
|
||||
*/
|
||||
@SerializedName("invoke_time")
|
||||
private Integer invokeTime;
|
||||
/**
|
||||
* 请求毫秒级耗时
|
||||
*/
|
||||
@SerializedName("cost_in_ms")
|
||||
private Integer costInMs;
|
||||
/**
|
||||
* 请求的URL参数
|
||||
*/
|
||||
@SerializedName("request_url")
|
||||
private String requestUrl;
|
||||
/**
|
||||
* post请求的请求参数
|
||||
*/
|
||||
@SerializedName("request_body")
|
||||
private String requestBody;
|
||||
/**
|
||||
* 接口请求返回参数
|
||||
*/
|
||||
@SerializedName("response_body")
|
||||
private String responseBody;
|
||||
/**
|
||||
* 接口请求的客户端ip
|
||||
*/
|
||||
@SerializedName("client_ip")
|
||||
private String clientIp;
|
||||
}
|
||||
Reference in New Issue
Block a user