SensitiveWord相关修改测试

This commit is contained in:
平凡梦
2020-07-10 09:17:35 +08:00
parent a6fdadebb6
commit 68adbed883
3 changed files with 12 additions and 5 deletions

View File

@@ -727,7 +727,7 @@ func CheckHasSensitiveWord(word string) (bool, error) {
}
func IsSensitiveWordInList(str string) (bool, string) {
wordList, err := dao.GetSensitiveWordList(2)
wordList, err := dao.GetSensitiveWordList(3)
if err == nil {
for _, value := range wordList {
keyWord := value.Word