Commit d393aa12 by 徐高华

小程序的跳转

parent f9a94cfd
......@@ -227,7 +227,7 @@ public class QywxSendServiceImpl implements QywxSendService {
miniprogramMaterialDTO.setPicMediaId(maerialId);
miniprogramMaterialDTO.setAppid(material.getAppId());
miniprogramMaterialDTO.setPage(material.getLink());
/* if(null != planType && StringUtils.isNotBlank(planId)) {
if(null != planType && StringUtils.isNotBlank(planId)) {
String url = "qtActivityType="+planType+"&qtActivityId="+planId ;
if(material.getLink().contains("?")) {
url = "&" + url ;
......@@ -235,7 +235,7 @@ public class QywxSendServiceImpl implements QywxSendService {
url = "?" +url ;
}
miniprogramMaterialDTO.setPage(material.getLink()+url);
}*/
}
log.info("群发链接={}",material.getLink(),miniprogramMaterialDTO.getPage());
dto.setMsgType(QywxMediaTypeEnum.MINIPROGRAM.getName());
dto.setMiniprogram(miniprogramMaterialDTO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment