修改自动匹配 方法

This commit is contained in:
平凡梦
2020-07-13 16:45:46 +08:00
parent c2431b605f
commit 84e41455f8

View File

@@ -733,7 +733,7 @@ func IsSensitiveWordInList(str string) (bool, string) {
keyWord := value.Word keyWord := value.Word
checkHas := strings.Contains(keyWord, str) checkHas := strings.Contains(keyWord, str)
if checkHas { if checkHas {
return true, keyWord return true, str
} }
} }
} }