Commit c32f23c1 authored by strong's avatar strong

Merge commit 'b30b1406' into SANDBOX

parents b54fd02c b30b1406
...@@ -320,7 +320,7 @@ exports.getFavors = function(condition, callback) { ...@@ -320,7 +320,7 @@ exports.getFavors = function(condition, callback) {
options: {sort: {created: -1}} options: {sort: {created: -1}}
}).populate({ }).populate({
path: 'favor_threads', path: 'favor_threads',
select: '_id title info from created status', select: '_id title info from created status type',
options: { options: {
sort: {created: -1}, sort: {created: -1},
populate:"info from" //继续查文章里面的板块信息 populate:"info from" //继续查文章里面的板块信息
......
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