|
|
|
@@ -217,29 +217,25 @@ public class WxCouponChannel implements Serializable { |
|
|
|
} |
|
|
|
|
|
|
|
public String getWeaAppPath() { |
|
|
|
if(type == null) |
|
|
|
return "pages/index/index"; |
|
|
|
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) { |
|
|
|
return "pages/index/index?type=sd&couponChannelId=" + id; |
|
|
|
} else { |
|
|
|
return "pages/index/index?type=cd&couponChannelId=" + id; |
|
|
|
} else { |
|
|
|
return "pages/index/index?type=sd&couponChannelId=" + id; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setWeaAppPath(String weaAppPath) { |
|
|
|
this.weaAppPath = weaAppPath; |
|
|
|
} |
|
|
|
|
|
|
|
public String getWeaAppScene() { |
|
|
|
if(type == null) |
|
|
|
return ""; |
|
|
|
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) { |
|
|
|
return "t:sd:" + id; |
|
|
|
} else { |
|
|
|
return "t:cd:" + id; |
|
|
|
} else { |
|
|
|
return "t:sd:" + id; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public void setWeaAppScene(String weaAppScene) { |
|
|
|
this.weaAppScene = weaAppScene; |
|
|
|
} |
|
|
|
|
|
|
|
public static enum Field |
|
|
|
{ |
|
|
|
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") |
|
|
|
|