Commit 6c5f284d authored by 杨翌文's avatar 杨翌文

11

parent 4dd92d9a
......@@ -100,8 +100,7 @@ router.get('/info/:fid/get', function(req, res, next) {
res.json(returnCode.BUSY);
} else {
var rs = {};
console.info(results);
rs.data = results[0];
rs.data = results[0].toObject();
rs.data.threadCount = results[1];
res.json(_.assign(rs, returnCode.SUCCESS));
}
......
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