提交 9fd9adbc 作者: 沈振路

关回、关键词处理调整

上级 d5841ba3
......@@ -184,7 +184,6 @@ public class CustomerKeywordComponent {
result.setHasError(true);
}
entity.setStatus(status);
finalMaterialList.add(entity);
continue;
}
......
......@@ -192,7 +192,6 @@ public class FollowReplyComponent {
result.setHasError(true);
}
entity.setStatus(status);
finalMaterialList.add(entity);
continue;
}
......
......@@ -29,7 +29,7 @@ public class CustomerMaterialConstant {
}
public static Boolean needReferral(String type) {
return TENCENT_MEDIA_TYPE_NEWS.equals(type) || TENCENT_MEDIA_TYPE_TEXT.equals(type);
return TENCENT_MEDIA_TYPE_NEWS.equals(type) || TENCENT_MEDIA_TYPE_TEXT.equals(type) || TENCENT_MEDIA_TYPE_MINI_PROGRAM.equals(type);
}
public static String getTypeDesc(String type) {
......
......@@ -370,7 +370,7 @@ public class CustomerFollowReplyServiceImpl extends ServiceImpl<CustomerFollowRe
// 文本类型
List<ReferralEntity> referralList = referralEntityService.list(new QueryWrapper<ReferralEntity>().eq(ReferralEntity.COL_MATERIAL_GRAPHICS_ID, id).orderByAsc("sort"));
infoVo.setTextBodyList(getReferralBodyFromEntity(referralList));
} else if (CustomerMaterialConstant.TENCENT_MEDIA_TYPE_NEWS.equals(entity.getType())) {
} else if (CustomerMaterialConstant.TENCENT_MEDIA_TYPE_NEWS.equals(entity.getType()) || CustomerMaterialConstant.TENCENT_MEDIA_TYPE_MINI_PROGRAM.equals(entity.getType())) {
try {
// 设置图文类型的链接数据
ReferralEntity referralEntity = referralEntityService.getOne(new QueryWrapper<ReferralEntity>().eq(ReferralEntity.COL_MATERIAL_GRAPHICS_ID, id));
......
......@@ -364,7 +364,7 @@ public class CustomerKeywordServiceImpl extends ServiceImpl<CustomerKeywordMappe
// 文本类型
List<ReferralEntity> referralList = referralEntityService.list(new QueryWrapper<ReferralEntity>().eq(ReferralEntity.COL_MATERIAL_GRAPHICS_ID, id).orderByAsc("sort"));
infoVo.setTextBodyList(getReferralBodyFromEntity(referralList));
} else if (CustomerMaterialConstant.TENCENT_MEDIA_TYPE_NEWS.equals(entity.getType())) {
} else if (CustomerMaterialConstant.TENCENT_MEDIA_TYPE_NEWS.equals(entity.getType()) || CustomerMaterialConstant.TENCENT_MEDIA_TYPE_MINI_PROGRAM.equals(entity.getType())) {
try {
// 设置图文类型的链接数据
ReferralEntity referralEntity = referralEntityService.getOne(new QueryWrapper<ReferralEntity>().eq(ReferralEntity.COL_MATERIAL_GRAPHICS_ID, id));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论