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

更新消息

parent 0431f1b6
...@@ -122,7 +122,7 @@ router.get('/message/:mid/get', function(req, res, next) { ...@@ -122,7 +122,7 @@ router.get('/message/:mid/get', function(req, res, next) {
}else{ }else{
res.json(returnCode.WRONG_PARAM); res.json(returnCode.WRONG_PARAM);
} }
}); });
//读取用户未读消息 //读取用户未读消息
router.get('/message/unReadMsg', function(req, res, next) { router.get('/message/unReadMsg', function(req, res, next) {
...@@ -142,7 +142,7 @@ router.get('/message/unReadMsg', function(req, res, next) { ...@@ -142,7 +142,7 @@ router.get('/message/unReadMsg', function(req, res, next) {
} }
res.json(_.assign(rs, returnCode.SUCCESS)); res.json(_.assign(rs, returnCode.SUCCESS));
} }
}); });
}else{ }else{
res.json(returnCode.WRONG_PARAM); res.json(returnCode.WRONG_PARAM);
} }
......
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