From a1c5ec77ff68f69d990d3593fb04a47842fc4e76 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 9 Sep 2019 14:24:05 +0800 Subject: [PATCH] - fk --- platformapi/ebaiapi/shop_sku.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/platformapi/ebaiapi/shop_sku.go b/platformapi/ebaiapi/shop_sku.go index 5018704f..f4caaf28 100644 --- a/platformapi/ebaiapi/shop_sku.go +++ b/platformapi/ebaiapi/shop_sku.go @@ -252,13 +252,6 @@ func (a *API) ShopCategoryUpdate(shopID string, categoryID int64, name string, r "name": name, "rank": rank, }) - - // todo, 之前为什么要忽略同名错误? - // if errWithCode, ok := err.(*utils.ErrorWithCode); ok { - // if errWithCode.Level() == 0 && errWithCode.IntCode() == 1 { //忽略同名错误 - // err = nil - // } - // } return err }