Commit d331967f authored by 陈立彬's avatar 陈立彬

1.移动端资料分类列表改为只返回根父级

parent 75054cf3
......@@ -921,7 +921,10 @@ public class AppExamineService {
if (model.getParentId() == 0) {
levelOneCategorySet.add(id);
} else {
levelOneCategorySet.add(model.getParentId());
WikiCategoryDto wikiCategoryDto = wikiCategoryDetail(model.getParentId());
if(Objects.nonNull(wikiCategoryDto) && Objects.equals(wikiCategoryDto.getParentId(), 0)) {
levelOneCategorySet.add(wikiCategoryDto.getId());
}
}
}
}
......
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