|
|
@@ -72,14 +72,6 @@ public class WxCouponChannel extends BaseEntity { |
|
|
@io.swagger.annotations.ApiModelProperty(value="子频道ID",name="subTargetId") |
|
|
@io.swagger.annotations.ApiModelProperty(value="子频道ID",name="subTargetId") |
|
|
private Long subTargetId; |
|
|
private Long subTargetId; |
|
|
|
|
|
|
|
|
@Transient |
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "小程序路径", name = "weaAppPath") |
|
|
|
|
|
private String weaAppPath; |
|
|
|
|
|
|
|
|
|
|
|
@Transient |
|
|
|
|
|
@io.swagger.annotations.ApiModelProperty(value = "小程序二维码scene", name = "weaAppScene") |
|
|
|
|
|
private String weaAppScene; |
|
|
|
|
|
|
|
|
|
|
|
@Transient |
|
|
@Transient |
|
|
@io.swagger.annotations.ApiModelProperty(value="积分售价(适用于类型10,11)",name="creditPrice") |
|
|
@io.swagger.annotations.ApiModelProperty(value="积分售价(适用于类型10,11)",name="creditPrice") |
|
|
private Integer creditPrice; |
|
|
private Integer creditPrice; |
|
|
@@ -99,7 +91,7 @@ public class WxCouponChannel extends BaseEntity { |
|
|
@Transient |
|
|
@Transient |
|
|
private Long merchantId; |
|
|
private Long merchantId; |
|
|
|
|
|
|
|
|
public String getWeaAppPath() { |
|
|
|
|
|
|
|
|
public String getWeappPath() { |
|
|
if(type == null) |
|
|
if(type == null) |
|
|
return "pages/index/index"; |
|
|
return "pages/index/index"; |
|
|
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) { |
|
|
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) { |
|
|
@@ -109,7 +101,7 @@ public class WxCouponChannel extends BaseEntity { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public String getWeaAppScene() { |
|
|
|
|
|
|
|
|
public String getWeappScene() { |
|
|
if(type == null) |
|
|
if(type == null) |
|
|
return ""; |
|
|
return ""; |
|
|
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) { |
|
|
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) { |
|
|
|