|
|
|
@@ -83,9 +83,7 @@ public class WxTopic extends TenantEntity { |
|
|
|
|
|
|
|
|
|
|
|
public String getWeappPath() { |
|
|
|
if(id == null) |
|
|
|
return Constant.mainPageUrl; |
|
|
|
if(EnumWxTopicType.SPECIAL_TOPIC.getCode().equals(topicType)) |
|
|
|
if(EnumWxTopicType.SPECIAL_TOPIC.getCode().equals(topicType) && id != null) |
|
|
|
return Constant.mainPageUrl + "?type=td&id="+id; |
|
|
|
if(EnumWxTopicType.FLASH_SALE.getCode().equals(topicType)) |
|
|
|
return Constant.mainPageUrl + "?type=rb"; |
|
|
|
@@ -101,9 +99,7 @@ public class WxTopic extends TenantEntity { |
|
|
|
} |
|
|
|
|
|
|
|
public String getWeappScene() { |
|
|
|
if(id == null) |
|
|
|
return ""; |
|
|
|
if(EnumWxTopicType.SPECIAL_TOPIC.getCode().equals(topicType)) |
|
|
|
if(EnumWxTopicType.SPECIAL_TOPIC.getCode().equals(topicType) && id != null) |
|
|
|
return "t:td:" + id; |
|
|
|
return ""; |
|
|
|
} |
|
|
|
|