Commit 62287ecf authored by 陈家荣's avatar 陈家荣

update

parent 7a830302
......@@ -192,7 +192,7 @@ router.get('/thread/:tid/get', function(req, res, next) {
if (err) {
callback(err, null);
} else {
datas.push(results)
datas.push(results);
callback(null, datas);
}
});
......@@ -208,6 +208,7 @@ router.get('/thread/:tid/get', function(req, res, next) {
}
});
}else{
datas.push({})
callback(null, datas);
}
},
......@@ -216,7 +217,7 @@ router.get('/thread/:tid/get', function(req, res, next) {
if (err) {
callback(err, null);
} else {
datas.push(result)
datas.push(result);
callback(null, datas);
}
});
......
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