提交 54c2fd72 authored 作者: linzhenjie's avatar linzhenjie

详情返回title等信息

上级 505fe1ea
......@@ -45,7 +45,9 @@ public class HelpCenterController {
@GetMapping("/info/{id}")
@ApiOperation("帮助中心")
public R info(@PathVariable("id") Integer id){
return R.ok().put("list", helpCenterContentService.list(new QueryWrapper<HelpCenterContentEntity>().eq("help_id", id)));
R ok = R.ok();
ok.put("info", helpCenterService.getById(id));
ok.put("list", helpCenterContentService.list(new QueryWrapper<HelpCenterContentEntity>().eq("help_id", id)));
return ok;
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论