@ -35,7 +35,7 @@ func RecordWechatBlockWords(text, textMd5, opUser string) {
func WordsBlocked(textMd5 string) bool {
var Record WechatBlockWords
if global.DB.Where("ContentMd5 = ?", textMd5).First(&Record).RecordNotFound() {
if global.DB.Where("content_md5 = ?", textMd5).First(&Record).RecordNotFound() {
return true
}
return false