Преглед изворни кода

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

release_toaliyun_real
Stormeye Wu пре 7 година
родитељ
комит
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") @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())) {


+ 2
- 2
mallinkService/src/main/java/com/iformall/domain/po/WxMerchant.java Прегледај датотеку

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


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


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


Loading…
Откажи
Сачувај