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

修改收藏记录接口

parent 4aba2f23
......@@ -320,7 +320,7 @@ exports.getFavors = function(condition, callback) {
options: {sort: {created: -1}}
}).populate({
path: 'favor_threads',
select: '_id title info from created status',
select: '_id title info from created status type',
options: {
sort: {created: -1},
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