mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
#585 小程序二维码支持is_hyaline参数生成透明背景二维码
This commit is contained in:
@@ -23,6 +23,9 @@ public class WxMaWxcode extends AbstractWxMaQrcodeWrapper implements Serializabl
|
||||
@SerializedName("auto_color")
|
||||
private boolean autoColor = true;
|
||||
|
||||
@SerializedName("is_hyaline")
|
||||
private boolean isHyaline = false;
|
||||
|
||||
@SerializedName("line_color")
|
||||
private WxMaCodeLineColor lineColor = new WxMaCodeLineColor("0", "0", "0");
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
package cn.binarywang.wx.miniapp.bean;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import cn.binarywang.wx.miniapp.util.json.WxMaGsonBuilder;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 小程序码接口B.
|
||||
*
|
||||
@@ -25,6 +25,9 @@ public class WxaCodeUnlimit extends AbstractWxMaQrcodeWrapper implements Seriali
|
||||
@SerializedName("auto_color")
|
||||
private boolean autoColor = true;
|
||||
|
||||
@SerializedName("is_hyaline")
|
||||
private boolean isHyaline = false;
|
||||
|
||||
@SerializedName("line_color")
|
||||
private WxMaCodeLineColor lineColor = new WxMaCodeLineColor("0", "0", "0");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user