🐛 【公众号】 短key解析接口返回结果结构修复

This commit is contained in:
zsail 2021-08-04 17:33:00 +08:00 committed by GitHub
parent 87c1952eef
commit 1652ae2f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
package me.chanjar.weixin.mp.bean.result;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
@ -18,14 +19,17 @@ public class WxMpShortKeyResult implements Serializable {
/**
* 长信息
*/
@SerializedName("long_data")
protected String longData;
/**
* 创建的时间戳
*/
@SerializedName("create_time")
protected long createTime;
/**
* 剩余的过期秒数
*/
@SerializedName("expire_seconds")
protected long expireSeconds;
public static WxMpShortKeyResult fromJson(String json) {