mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 19:06:49 +08:00
校验
This commit is contained in:
@@ -93,9 +93,11 @@ public class CommentsApi extends ApiBaseController{
|
||||
// }
|
||||
// }
|
||||
List<String> ids = list.stream().map(Comments::getId).collect(Collectors.toList());
|
||||
List<Comments> replyList = service.findReplysByCommentIds(20, objType, ids);
|
||||
if(!ids.isEmpty()) {
|
||||
List<Comments> replyList = service.findReplysByCommentIds(20, objType, ids);
|
||||
|
||||
list.addAll(replyList);
|
||||
list.addAll(replyList);
|
||||
}
|
||||
return success(list);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user