diff --git a/business/jxstore/cms/sku.go b/business/jxstore/cms/sku.go index d3d5ed135..2a88d7dc7 100644 --- a/business/jxstore/cms/sku.go +++ b/business/jxstore/cms/sku.go @@ -740,7 +740,7 @@ func IsSensitiveWordInList(str string) (bool, string) { var index int for index > 0 { index = strings.Index(keyWord, ",") - keyWord = keyWord[index+1:] + keyWord = keyWord[:index-1] checkHas := strings.Contains(str, keyWord) if checkHas { return true, keyWord