Commit b4e44995 authored by 陈家荣's avatar 陈家荣

update

parent c8097e23
......@@ -209,7 +209,6 @@ exports.getAllCommentWithThreeeChildrenComment = function(conditions, pageNo, pa
.populate({
path: 'comments',
options: {
where:{status:1},
limit: 3,
sort: '_id',
populate:'from to'
......@@ -738,7 +737,6 @@ exports.getAllComment_allstatus_v2 = function(conditions, pageNo, pageSize, call
ForumComment.find(conditions,listCommentFields).populate('from','uid mid nickName icon exp honorTitles').populate({
path: 'comments',
options: {
where:{status:1},
limit: 3,
sort: '_id',
populate:'from to'
......@@ -815,7 +813,6 @@ exports.getCommentByIdWhitChirdentComment = function(conditions, pageNo, pageSiz
}).populate('to','uid mid nickName icon exp').populate({
path: 'comments',
options: {
where:{status:1},
skip: skip,
limit: limit,
sort: '_id',
......
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