Commit 820460a5 by lili
parents 67ab40b1 a97b261b
......@@ -304,7 +304,9 @@ public class PushBizImpl implements PushBiz {
if (productDto != null) {
SendArticleMessageVO sendArticleMessageVO = new SendArticleMessageVO();
sendArticleMessageVO.setAltId(altId);
sendArticleMessageVO.setDescription(productDto.getProductTypeName());
if (productDto.getProductTypeDto() != null) {
sendArticleMessageVO.setDescription(productDto.getProductTypeDto().getTypeName());
}
sendArticleMessageVO.setGroupId(groupId);
// 处理链接地址
String endUrl = pushItem.getProductUrl() + "&" + otherUrl;
......@@ -617,7 +619,9 @@ public class PushBizImpl implements PushBiz {
ProductDto productDto = productDtoMap.get(pushItem.getProductId());
if (productDto != null) {
pushItem.setApName(productDto.getProductName());
pushItem.setApTypeName(productDto.getProductTypeName());
if (productDto.getProductTypeDto() != null) {
pushItem.setApTypeName(productDto.getProductTypeDto().getTypeName());
}
pushItem.setApImage(productDto.getCoverImg());
}
}
......
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