Commit 29e994f2 authored by 张淼's avatar 张淼

1

parent 572d8481
...@@ -517,6 +517,7 @@ router.post('/thread/:tid/comment/:cid/create', function(req, res, next) { ...@@ -517,6 +517,7 @@ router.post('/thread/:tid/comment/:cid/create', function(req, res, next) {
if(err){ if(err){
res.json(returnCode.BUSY); res.json(returnCode.BUSY);
}else{ }else{
var rs={}; var rs={};
rs.data=results[0]; rs.data=results[0];
res.json(_.assign(rs,returnCode.SUCCESS)); 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