Commit 93bbbde3 authored by 陈志良's avatar 陈志良

修改

parent 148961f3
......@@ -482,14 +482,14 @@ exports.getThreadById = function(tid, callback) {
var comments = results[0] || [];
var subThreads = results[1] || []; //话题子文章列表
// var latestPhotos = results[2] || []; //最新照片墙列表
// var hotPhotos = results[3] || []; //最热照片墙列表
var canyuPeopleCount = results[2] || 0; //参与人数
var hotPhotos = results[2] || []; //最热照片墙列表
var canyuPeopleCount = results[3] || 0; //参与人数
var threadObj = thread && thread.toObject() || {};
threadObj.comments = comments;
threadObj.subThreads = subThreads;
// threadObj.latestPhotos = latestPhotos;
// threadObj.hotPhotos = hotPhotos;
threadObj.hotPhotos = hotPhotos;
threadObj.canyuPeopleCount = canyuPeopleCount;
callback(null, threadObj);
}
......
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