提交 0f078e57 作者: yanxin

根据id查询知识库数据,不返回contents字段

上级 a8a34445
......@@ -90,6 +90,7 @@ public class KnowledgeController {
if(knowledgeVO==null){
return Result.OK("nothing");
}
knowledgeVO.setContents(null);
if (null != knowledgeVO.getPublishDate() && (!knowledgeVO.getPublishDate().isEmpty())) {
knowledgeVO.setPublishDate(EsDateUtil.esFieldDateMapping(knowledgeVO.getPublishDate()));
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论