recount tags when public note
This commit is contained in:
@ -455,6 +455,11 @@ func (this *NoteService) UpdateNote(updatedUserId, noteId string, needUpdate bso
|
|||||||
if !note.IsBlog {
|
if !note.IsBlog {
|
||||||
needUpdate["PublicTime"] = needUpdate["UpdatedTime"]
|
needUpdate["PublicTime"] = needUpdate["UpdatedTime"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 重新计算tags
|
||||||
|
go (func() {
|
||||||
|
blogService.ReCountBlogTags(userId)
|
||||||
|
})()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user