Просмотр исходного кода

[物料][修改]:统一接口weappPath,weappScene

release_toaliyun_real
Stormeye Wu 7 лет назад
Родитель
Сommit
8abb06c130
2 измененных файлов: 4 добавлений и 12 удалений
  1. +2
    -10
      mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java
  2. +2
    -2
      mallinkService/src/main/java/com/iformall/domain/po/WxMerchant.java

+ 2
- 10
mallinkService/src/main/java/com/iformall/domain/po/WxCouponChannel.java Просмотреть файл

@@ -72,14 +72,6 @@ public class WxCouponChannel extends BaseEntity {
@io.swagger.annotations.ApiModelProperty(value="子频道ID",name="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
@io.swagger.annotations.ApiModelProperty(value="积分售价(适用于类型10,11)",name="creditPrice")
private Integer creditPrice;
@@ -99,7 +91,7 @@ public class WxCouponChannel extends BaseEntity {
@Transient
private Long merchantId;

public String getWeaAppPath() {
public String getWeappPath() {
if(type == null)
return "pages/index/index";
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)
return "";
if(!type.equals(EnumCouponType.COUPON_GROUP.getCode())) {


+ 2
- 2
mallinkService/src/main/java/com/iformall/domain/po/WxMerchant.java Просмотреть файл

@@ -178,13 +178,13 @@ public class WxMerchant extends BaseEntity {
return super.getSortColumns();
}

public String getWeaAppPath() {
public String getWeappPath() {
if(id == null)
return "pages/index/index";
return "pages/index/index?type=md&id=" + id;
}

public String getWeaAppScene() {
public String getWeappScene() {
if(id == null)
return "";
return "t:md:" + id;


Загрузка…
Отмена
Сохранить