diff --git a/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/scheme/WxMaGenerateSchemeRequest.java b/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/scheme/WxMaGenerateSchemeRequest.java index f8ef32b2fd..a62c1334af 100644 --- a/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/scheme/WxMaGenerateSchemeRequest.java +++ b/weixin-java-miniapp/src/main/java/cn/binarywang/wx/miniapp/bean/scheme/WxMaGenerateSchemeRequest.java @@ -39,6 +39,25 @@ public class WxMaGenerateSchemeRequest { @SerializedName("expire_time") private Long expireTime; + /** + * 到期失效的 scheme 码失效类型,失效时间:0,失效间隔天数:1 + *
+   * 是否必填:否
+   * 
+ */ + @SerializedName("expire_type") + private Integer expireType; + + /** + * 到期失效的 scheme 码的失效间隔天数。 + *
+   * 生成的到期失效 scheme 码在该间隔时间到达前有效。最长间隔天数为365天。is_expire 为 true 且 expire_type 为 1 时必填   * 
+   * 是否必填:否
+   * 
+ */ + @SerializedName("expire_interval") + private Integer expireInterval; + @Data @Builder(builderMethodName = "newBuilder") public static class JumpWxa {