修改自动匹配 方法
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user