Commit a97b261b by 高鹏

Merge branch 'mymaster' into 'master'

修改群发作品

See merge request rays/pcloud-book!4
parents cc8a849a 4fccc423
......@@ -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