Commit 88f4822b authored by 陈志良's avatar 陈志良

按创建时间倒序查询文章

parent 13e85e0e
......@@ -483,7 +483,7 @@ router.get('/info/:fid/serachThreads', function(req, res, next) {
};
}
//获取子话题数据
forumThreadService.getAllThreadByFid(conditions, pageNo, pageSize, '-praise_count', function(err, results) {
forumThreadService.getAllThreadByFid(conditions, pageNo, pageSize, '-created', function(err, results) {
if (err) {
console.error(err);
res.json(returnCode.BUSY);
......
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