评论加排序

This commit is contained in:
86182
2022-11-14 14:09:57 +08:00
parent 2b18d810ba
commit 000602d8f1

View File

@@ -51,7 +51,7 @@ public class CommentsApi extends ApiBaseController{
//return badRequest("未指定级别");
clevel=1;
}
PageList<Comments> list=service.findPage(pager.getPageIndex(),pager.getPageSize(),type, id, clevel, author);
PageList<Comments> list=service.findPage(pager.getPageIndex(),pager.getPageSize(),type, id, clevel, author,orderField);
//查询二级回复内容
List<String> ids=new ArrayList<String>();
for(Comments c: list.getList()) {