From faed02bbee3b038296b0de4fb07714b9a4ca2327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B9=B3=E5=87=A1=E6=A2=A6?= Date: Mon, 13 Jul 2020 17:38:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=20=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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