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

更新帖子时更新标签

parent fb16e522
...@@ -78,7 +78,8 @@ function create(req, callback) { ...@@ -78,7 +78,8 @@ function create(req, callback) {
var update = { var update = {
$set: { $set: {
images: entity.images, images: entity.images,
content: entity.content content: entity.content,
tag: entity.tag
} }
}; };
forumThreadService.updateThreadById(doc._id, update, function(err, updatedDoc) { forumThreadService.updateThreadById(doc._id, update, function(err, updatedDoc) {
......
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