|
|
|
@@ -103,6 +103,10 @@ public class WxCouponChannel implements Serializable { |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "小程序路径", name = "weaAppPath") |
|
|
|
private String weaAppPath; |
|
|
|
|
|
|
|
@Transient |
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "小程序二维码scene", name = "weaAppScene") |
|
|
|
private String weaAppScene; |
|
|
|
|
|
|
|
|
|
|
|
public String getTenantId() { |
|
|
|
return tenantId; |
|
|
|
@@ -224,6 +228,18 @@ public class WxCouponChannel implements Serializable { |
|
|
|
this.weaAppPath = weaAppPath; |
|
|
|
} |
|
|
|
|
|
|
|
public String getWeaAppScene() { |
|
|
|
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) { |
|
|
|
return "t:sd:" + id; |
|
|
|
} else { |
|
|
|
return "t:cd:" + id; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setWeaAppScene(String weaAppScene) { |
|
|
|
this.weaAppScene = weaAppScene; |
|
|
|
} |
|
|
|
|
|
|
|
public static enum Field |
|
|
|
{ |
|
|
|
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") |
|
|
|
|