recount tags when public note

This commit is contained in:
lealife
2016-04-16 11:31:27 +08:00
parent a9d49369e2
commit 139906b9d6

View File

@ -455,6 +455,11 @@ func (this *NoteService) UpdateNote(updatedUserId, noteId string, needUpdate bso
if !note.IsBlog {
needUpdate["PublicTime"] = needUpdate["UpdatedTime"]
}
// 重新计算tags
go (func() {
blogService.ReCountBlogTags(userId)
})()
}
}