|
|
|
@@ -86,6 +86,16 @@ public class WxTopic extends TenantEntity { |
|
|
|
return Constant.mainPageUrl; |
|
|
|
if(EnumWxTopicType.SPECIAL_TOPIC.getCode().equals(topicType)) |
|
|
|
return Constant.mainPageUrl + "?type=td&id="+id; |
|
|
|
if(EnumWxTopicType.FLASH_SALE.getCode().equals(topicType)) |
|
|
|
return Constant.mainPageUrl + "?type=rb"; |
|
|
|
if(EnumWxTopicType.PRESS.getCode().equals(topicType)) |
|
|
|
return Constant.mainPageUrl + "?type=mb"; |
|
|
|
if(EnumWxTopicType.GROUP.getCode().equals(topicType)) |
|
|
|
return Constant.mainPageUrl + "?type=ms"; |
|
|
|
if(EnumWxTopicType.CARD_MULTIMCH.getCode().equals(topicType)) |
|
|
|
return Constant.mainPageUrl + "?type=dc"; |
|
|
|
if(EnumWxTopicType.CREDIT.getCode().equals(topicType)) |
|
|
|
return Constant.mainPageUrl + "?type=jf"; |
|
|
|
return Constant.mainPageUrl; |
|
|
|
} |
|
|
|
|
|
|
|
|