From b8e37eeeff085d0e7876a9116f34d8909c9a86a9 Mon Sep 17 00:00:00 2001 From: gazebo Date: Tue, 18 Dec 2018 15:56:55 +0800 Subject: [PATCH] =?UTF-8?q?-=20remove=20sale=20property=20=E5=8F=A3?= =?UTF-8?q?=E5=91=B3=20for=20jd.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/jdapi/sku.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/platformapi/jdapi/sku.go b/platformapi/jdapi/sku.go index cec04a20..991ea341 100644 --- a/platformapi/jdapi/sku.go +++ b/platformapi/jdapi/sku.go @@ -431,10 +431,10 @@ func (a *API) AddSpu(outSpuId string, cagtegoryId int, shopCategories []int64, b "saleAttrName": "规格", "saleAttrValueNameList": attrList, }, - map[string]interface{}{ - "saleAttrName": "口味", - "saleAttrValueNameList": []string{"."}, - }, + // map[string]interface{}{ + // "saleAttrName": "口味", + // "saleAttrValueNameList": []string{"."}, + // }, }, } result, err := a.AccessAPINoPage("pms/addSpu", utils.MergeMaps(fixedParams, addParams), nil, nil, nil) @@ -602,9 +602,9 @@ func genAttrMapList(kgAttr string) (attrList []map[string]interface{}) { "saleAttrName": "规格", "saleAttrValueName": kgAttr, }, - map[string]interface{}{ - "saleAttrName": "口味", - "saleAttrValueName": ".", - }, + // map[string]interface{}{ + // "saleAttrName": "口味", + // "saleAttrValueName": ".", + // }, } }