Commit 88a6a54a by 阳浪

投稿发布

parent cd239d52
......@@ -40,10 +40,11 @@ public class TpCommentController {
public Response<Page<PageCommentVo>> list(
@ApiParam(value = "培训项目id",required = true)@RequestParam("trainingProjectId")Long trainingProjectId,
@ApiParam(value = "关联业务类型:1活动服务;2新闻资讯;3培训测试;4培训资讯") @RequestParam(name = "bizType", defaultValue = "1") Integer bizType,
@RequestParam(name = "type", defaultValue = "0") Integer type,
@ApiParam(name = "pageNo", value = "跳转页数,默认第一页", required = true) @RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
@ApiParam(name = "pageSize", value = "每页条数,默认20条", required = true) @RequestParam(name = "pageSize", defaultValue = "20") Integer pageSize){
RequestContext requestContext = ContextHolder.get();
Page<PageCommentVo> page = tpCommentClient.list(trainingProjectId, bizType, requestContext.getAccountId(),pageNo,pageSize,0);
Page<PageCommentVo> page = tpCommentClient.list(trainingProjectId, bizType, requestContext.getAccountId(),pageNo,pageSize,type);
return Response.ok(page);
}
......
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