Commit b3f19b3d authored by 陈家荣's avatar 陈家荣

update

parent f1f7f1bd
...@@ -2541,7 +2541,9 @@ router.get('/thread/comment/:cid/get', function(req, res, next) { ...@@ -2541,7 +2541,9 @@ router.get('/thread/comment/:cid/get', function(req, res, next) {
console.error(err); console.error(err);
res.json(returnCode.BUSY); res.json(returnCode.BUSY);
}else { }else {
res.json(_.assign(result, returnCode.SUCCESS)); var rs = {};
rs.data = result;
res.json(_.assign(rs, returnCode.SUCCESS));
} }
}); });
}); });
\ No newline at end of file
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