mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-02-17 13:49:26 +08:00
🆕 #2373 【小程序】urllink生成接口增加env_version参数以支持环境隔离
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package cn.binarywang.wx.miniapp.bean.urllink;
|
||||
|
||||
import cn.binarywang.wx.miniapp.json.WxMaGsonBuilder;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@@ -16,6 +17,8 @@ import java.io.Serializable;
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class GenerateUrlLinkRequest implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2183685760797791910L;
|
||||
@@ -36,6 +39,15 @@ public class GenerateUrlLinkRequest implements Serializable {
|
||||
*/
|
||||
private String query;
|
||||
|
||||
/**
|
||||
* 要打开的小程序版本。正式版为"release",体验版为"trial",开发版为"develop",仅在微信外打开时生效。
|
||||
* <pre>
|
||||
* 是否必填: 否
|
||||
* </pre>
|
||||
*/
|
||||
@SerializedName("env_version")
|
||||
private String envVersion = "release";
|
||||
|
||||
/**
|
||||
* 生成的 URL Link 类型,到期失效:true,永久有效:false
|
||||
* <pre>
|
||||
|
||||
Reference in New Issue
Block a user