From 5bbde530b0458e2d97f6634846641b8830e48cc3 Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 6 Sep 2019 17:28:05 +0800 Subject: [PATCH] - up --- platformapi/ebaiapi/shop_sku.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/ebaiapi/shop_sku.go b/platformapi/ebaiapi/shop_sku.go index 2a09db57..c5af6b31 100644 --- a/platformapi/ebaiapi/shop_sku.go +++ b/platformapi/ebaiapi/shop_sku.go @@ -237,7 +237,7 @@ func (a *API) ShopCategoryCreate(shopID string, parentID int64, name string, ran func (a *API) ShopCategoryGet(shopID string) (cats []*CategoryInfo, err error) { result, err := a.AccessAPI("sku.shop.category.get", utils.Params2Map(KeyShopID, shopID)) if err == nil { - if inMap, ok := result.Data.(map[string]interface{}); ok { // fuck it + if inMap, ok := result.Data.(map[string]interface{}); ok { cats := interface2CatList(inMap["categorys"], 1) return cats, nil }