Commit 25842cd7 authored by 陈家荣's avatar 陈家荣

update 帖子列表

parent 98954bbd
...@@ -1277,7 +1277,7 @@ exports.getThreadWithNotPopulateComment = function(conditions, pageNo, pageSize, ...@@ -1277,7 +1277,7 @@ exports.getThreadWithNotPopulateComment = function(conditions, pageNo, pageSize,
options: { options: {
populate:"honorTitles" //继续查荣誉 populate:"honorTitles" //继续查荣誉
} }
}).limit(limit).skip(skip).sort(sortBy).exec(function(err, docs) { }).populate('info','name icon pv_count').limit(limit).skip(skip).sort(sortBy).exec(function(err, docs) {
if (err) { if (err) {
console.error(err); console.error(err);
callback(err, null); callback(err, null);
......
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