Commit 2a27dcc7 authored by yangyw's avatar yangyw

feature: 过滤资料库分类

parent b91e0fc2
......@@ -984,7 +984,11 @@ public class AppExamineService {
*/
public WikiDto wikiDetail(Integer id) {
WikiResponseModel model = examineService.wikiDetail(id);
return BeanUtil.copyProperties(model, WikiDto.class);
WikiDto wiki = BeanUtil.copyProperties(model, WikiDto.class);
WikiCategoryResponseModel cate = examineService.wikiCategoryDetail(wiki.getWikiCategoryId());
wiki.setWikiCategoryName(cate.getName());
return wiki;
}
public WikiMobileDto wikiMobileDetail(UserPrincipal userPrincipal, Integer id) {
......
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