mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 10:56:50 +08:00
评论加排序
This commit is contained in:
@@ -51,7 +51,7 @@ public class CommentsApi extends ApiBaseController{
|
|||||||
//return badRequest("未指定级别");
|
//return badRequest("未指定级别");
|
||||||
clevel=1;
|
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>();
|
List<String> ids=new ArrayList<String>();
|
||||||
for(Comments c: list.getList()) {
|
for(Comments c: list.getList()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user