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

update

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