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

修改创建系统消息接口

parent a6ee8be4
......@@ -61,7 +61,7 @@ router.post('/message/create', function(req, res, next) {
update_tasks.push(function(cont) {
var match = {
ent_code:object.ent_code,
_id: id
_id: new mongoose.Types.ObjectId(id)
}
forumUserService.updateUserById(match, entity,function(err,doc){
if (err) {
......
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