Sfoglia il codice sorgente

[小程序相关二维码][新增]:公众号二维码Scene添加

release_toaliyun_real
Stormeye Wu 7 anni fa
parent
commit
2438b374f2
4 ha cambiato i file con 52 aggiunte e 0 eliminazioni
  1. +12
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxCampaign.java
  2. +16
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java
  3. +12
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxGame.java
  4. +12
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxTopic.java

+ 12
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxCampaign.java Vedi File

@@ -111,6 +111,10 @@ public class WxCampaign implements Serializable {
@io.swagger.annotations.ApiModelProperty(value="小程序路径",name="weappPath") @io.swagger.annotations.ApiModelProperty(value="小程序路径",name="weappPath")
protected String weappPath; protected String weappPath;


@Transient
@io.swagger.annotations.ApiModelProperty(value="小程序二维码Scene",name="weappScene")
protected String weappScene;

public String getTenantId() { public String getTenantId() {
return tenantId; return tenantId;
} }
@@ -230,6 +234,14 @@ public class WxCampaign implements Serializable {
this.weappPath = weappPath; this.weappPath = weappPath;
} }


public String getWeappScene() {
return "t:bt:" + type + ":" +id;
}

public void setWeappScene(String weappScene) {
this.weappScene = weappScene;
}

public static enum Field public static enum Field
{ {
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") Id_ASC("`id` ASC"),Id_DESC("`id` DESC")


+ 16
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java Vedi File

@@ -103,6 +103,10 @@ public class WxCouponChannel implements Serializable {
@io.swagger.annotations.ApiModelProperty(value = "小程序路径", name = "weaAppPath") @io.swagger.annotations.ApiModelProperty(value = "小程序路径", name = "weaAppPath")
private String weaAppPath; private String weaAppPath;


@Transient
@io.swagger.annotations.ApiModelProperty(value = "小程序二维码scene", name = "weaAppScene")
private String weaAppScene;



public String getTenantId() { public String getTenantId() {
return tenantId; return tenantId;
@@ -224,6 +228,18 @@ public class WxCouponChannel implements Serializable {
this.weaAppPath = weaAppPath; 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 public static enum Field
{ {
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") Id_ASC("`id` ASC"),Id_DESC("`id` DESC")


+ 12
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxGame.java Vedi File

@@ -100,6 +100,10 @@ public class WxGame implements Serializable {
@io.swagger.annotations.ApiModelProperty(value="小程序路径",name="weappPath") @io.swagger.annotations.ApiModelProperty(value="小程序路径",name="weappPath")
private String weappPath; private String weappPath;


@Transient
@io.swagger.annotations.ApiModelProperty(value="小程序二维码Scene",name="weappScene")
private String weappScene;



public Long getId() { public Long getId() {
return id; return id;
@@ -257,6 +261,14 @@ public class WxGame implements Serializable {
this.weappPath = weappPath; this.weappPath = weappPath;
} }


public String getWeappScene() {
return "t:gm"+id;
}

public void setWeappScene(String weappScene) {
this.weappScene = weappScene;
}

public void setGameTemplate(WxGameTemplate gameTemplate) { public void setGameTemplate(WxGameTemplate gameTemplate) {
if (gameTemplate != null) { if (gameTemplate != null) {
this.imgUrl = gameTemplate.getImgUrl(); this.imgUrl = gameTemplate.getImgUrl();


+ 12
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxTopic.java Vedi File

@@ -83,6 +83,10 @@ public class WxTopic implements Serializable {
@io.swagger.annotations.ApiModelProperty(value="小程序路径",name="weappPath") @io.swagger.annotations.ApiModelProperty(value="小程序路径",name="weappPath")
private String weappPath; private String weappPath;


@Transient
@io.swagger.annotations.ApiModelProperty(value="小程序二维码Scene",name="weappScene")
private String weappScene;

public Integer getIsOnline() { public Integer getIsOnline() {
return isOnline; return isOnline;
} }
@@ -242,4 +246,12 @@ public class WxTopic implements Serializable {
public void setWeappPath(String weappPath) { public void setWeappPath(String weappPath) {
this.weappPath = weappPath; this.weappPath = weappPath;
} }

public String getWeappScene() {
return "t:td:" + id;
}

public void setWeappScene(String weappScene) {
this.weappScene = weappScene;
}
} }

Caricamento…
Annulla
Salva