Commit 37a1a073 authored by 陈志良's avatar 陈志良

我的帖子创建时间倒序

parent e03e5cbd
...@@ -352,7 +352,7 @@ router.get('/info/:fid/myThreads', function(req, res, next) { ...@@ -352,7 +352,7 @@ router.get('/info/:fid/myThreads', 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) { if (err) {
console.error(err); console.error(err);
res.json(returnCode.BUSY); res.json(returnCode.BUSY);
...@@ -403,7 +403,7 @@ router.get('/info/myThreads', function(req, res, next) { ...@@ -403,7 +403,7 @@ router.get('/info/myThreads', 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) { if (err) {
console.error(err); console.error(err);
res.json(returnCode.BUSY); 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