Commit 26fb8d99 authored by 陈家荣's avatar 陈家荣

update

parent f285872a
......@@ -74,7 +74,7 @@ router.get('/honorTitle/list', function(req, res, next) {
$in: [one._id]
}
};
forumUserHonorTimeLineService.getAll(pageNo, pageSize, user_conditions,fields, function(err, results) {
forumUserHonorTimeLineService.getAll(pageNo, pageSize, user_conditions,fields,'-_id', function(err, results) {
if (err) {
console.error(err);
cont(err, null);
......@@ -83,7 +83,7 @@ router.get('/honorTitle/list', function(req, res, next) {
list[i] = list[i].toObject();
}
var users = [];
_.forEach(results, function(one, i) {
_.forEach(results.datas, function(one, i) {
users.push(one.user);
});
list[i].users = users;
......
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