- “商家商品ID [1162] 已被使用”,请更换,当成饿百SKU已存在错

This commit is contained in:
gazebo
2019-07-23 23:18:56 +08:00
parent 0cd6e0219d
commit 74c07ba61e

View File

@@ -518,7 +518,7 @@ func IsErrCategoryNotExist(err error) (isNotExist bool) {
}
func IsErrSkuExist(err error) (isExist bool) {
return utils.IsErrMatch(err, "1", []string{"商品已存在", "shop sku exist"})
return utils.IsErrMatch(err, "1", []string{"商品已存在", "shop sku exist", "已被使用,请更换"})
}
func IsErrSkuNotExist(err error) (isExist bool) {