- remove sale property 口味 for jd.

This commit is contained in:
gazebo
2018-12-18 15:56:55 +08:00
parent d80925d343
commit b8e37eeeff

View File

@@ -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": ".",
// },
}
}