Commit 2b82f91f authored by 杨翌文's avatar 杨翌文

1

parent 42f33004
...@@ -327,7 +327,7 @@ exports.getThreadById = function(tid, callback) { ...@@ -327,7 +327,7 @@ exports.getThreadById = function(tid, callback) {
if (err) { if (err) {
callback(err, null); callback(err, null);
} else { } else {
var thread = doc.toObject(); var thread = doc;
var comments = results[0] || []; var comments = results[0] || [];
var subThreads = results[1] || []; //话题子文章列表 var subThreads = results[1] || []; //话题子文章列表
var latestPhotos = results[2] || []; //最新照片墙列表 var latestPhotos = results[2] || []; //最新照片墙列表
...@@ -350,8 +350,6 @@ exports.getThreadById = function(tid, callback) { ...@@ -350,8 +350,6 @@ exports.getThreadById = function(tid, callback) {
} }
} }
}); });
}; };
//根据ID获取文章 //根据ID获取文章
exports.getThreadByIdSimple = function(conditions, callback) { exports.getThreadByIdSimple = function(conditions, callback) {
......
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