diff --git a/handle/blockService.go b/handle/blockService.go index 9c6b473..637300c 100644 --- a/handle/blockService.go +++ b/handle/blockService.go @@ -36,8 +36,8 @@ func RecordWechatBlockWords(text, textMd5, opUser string) { func WordsBlocked(textMd5 string) bool { var Record WechatBlockWords if global.DB.Where("ContentMd5 = ?", textMd5).First(&Record).RecordNotFound() { - return false + return true } - return true + return false }