Commit ced9f2d9 authored by 杨翌文's avatar 杨翌文

修改帖子列表页的评论数为3

parent f8dc1f5a
...@@ -632,7 +632,7 @@ function getAllThreadByFidHelp(conditions, pageNo, pageSize, sort, callback) { ...@@ -632,7 +632,7 @@ function getAllThreadByFidHelp(conditions, pageNo, pageSize, sort, callback) {
path: 'comments', path: 'comments',
options: { options: {
where:{status:1}, where:{status:1},
limit: 5, limit: 3,
sort: '-created' sort: '-created'
}, },
select: 'from to created content level' select: 'from to created content level'
...@@ -995,7 +995,7 @@ function getAllThreadByFidHelpAndNickName(user_ids, conditions, pageNo, pageSize ...@@ -995,7 +995,7 @@ function getAllThreadByFidHelpAndNickName(user_ids, conditions, pageNo, pageSize
path: 'comments', path: 'comments',
options: { options: {
where:{status:1}, where:{status:1},
limit: 5, limit: 3,
sort: '-created' sort: '-created'
}, },
select: 'from to created content' select: 'from to created content'
......
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