修改敏感词增加异常
This commit is contained in:
@@ -27,7 +27,7 @@ func InsertSensitiveWord(word string, vendorID int, userName string) error {
|
||||
}
|
||||
sensitiveWord := &model.SensitiveWord{Word: word, VendorID: vendorID}
|
||||
WrapAddIDCULDEntity(sensitiveWord, userName)
|
||||
return CreateEntity(nil, sensitiveWord)
|
||||
return CreateOrUpdate(nil, sensitiveWord)
|
||||
}
|
||||
|
||||
func DeleteSensitiveWord(wordList *model.SensitiveWord, id int, userName string, vendorID int) (word *model.SensitiveWord, err error) {
|
||||
|
||||
Reference in New Issue
Block a user