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

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

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