- remove sale property 口味 for jd.
This commit is contained in:
@@ -431,10 +431,10 @@ func (a *API) AddSpu(outSpuId string, cagtegoryId int, shopCategories []int64, b
|
|||||||
"saleAttrName": "规格",
|
"saleAttrName": "规格",
|
||||||
"saleAttrValueNameList": attrList,
|
"saleAttrValueNameList": attrList,
|
||||||
},
|
},
|
||||||
map[string]interface{}{
|
// map[string]interface{}{
|
||||||
"saleAttrName": "口味",
|
// "saleAttrName": "口味",
|
||||||
"saleAttrValueNameList": []string{"."},
|
// "saleAttrValueNameList": []string{"."},
|
||||||
},
|
// },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
result, err := a.AccessAPINoPage("pms/addSpu", utils.MergeMaps(fixedParams, addParams), nil, nil, nil)
|
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": "规格",
|
"saleAttrName": "规格",
|
||||||
"saleAttrValueName": kgAttr,
|
"saleAttrValueName": kgAttr,
|
||||||
},
|
},
|
||||||
map[string]interface{}{
|
// map[string]interface{}{
|
||||||
"saleAttrName": "口味",
|
// "saleAttrName": "口味",
|
||||||
"saleAttrValueName": ".",
|
// "saleAttrValueName": ".",
|
||||||
},
|
// },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user