Commit 4a8f4085 authored by 陈家荣's avatar 陈家荣

修改创建系统消息接口

parent 25123615
......@@ -235,7 +235,7 @@ exports.updateUserMessageStatus= function(condition,msgID, status,callback) {
//前端根据ID获取
exports.getByIdWithSelect=function(mid,callback){
ForumMessage.findOne({_id:mid}).select('_id from title content created status').exec(function(err, doc) {
ForumMessage.findOne({_id:mid}).select('_id fromNickName from title content created status').exec(function(err, doc) {
if (err) {
console.error(err);
callback(err,null);
......
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