recount tags when public note
This commit is contained in:
1 parent
a9d49369e2
commit
139906b9d6
1 file changed
+5
@@ -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)
|
||||
})()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user