perf:过滤内容中的非法字符,增强安全性

This commit is contained in:
lifei6671
2019-05-20 12:08:14 +08:00
parent 492b712cc2
commit d8e56548ea
6 changed files with 147 additions and 104 deletions

View File

@@ -594,7 +594,7 @@ func (book *Book) ReleaseContent(bookId int) {
}
for _, item := range docs {
item.BookId = bookId
item.ReleaseContent()
_ = item.ReleaseContent()
}
}