|
|
@@ -640,7 +640,7 @@ class OnlineDataRequest(object):
|
|
|
"originalPrice": float(goods_price),
|
|
|
"newSkuWeight": int(1),
|
|
|
"skuMainImageUrl": str(imageUrl),
|
|
|
- "skuName": f"颜色:{color_name};尺码:{size}",
|
|
|
+ "skuName": f"颜色:{color_name};尺寸:{size}",
|
|
|
"sellingPrice": float(goods_price),
|
|
|
"quantity": int(quantity),
|
|
|
"showOrder": int(skuIdx + 1),
|
|
|
@@ -673,17 +673,18 @@ class OnlineDataRequest(object):
|
|
|
"skuPropValueList": skuPropValueList,
|
|
|
}
|
|
|
)
|
|
|
- itemSkuImageList.append(
|
|
|
- {
|
|
|
- "propName": "尺码",
|
|
|
- "isImageProp": 1,
|
|
|
+ itemSkuImageList.append({
|
|
|
+ "propName": "尺寸",
|
|
|
+ "value": None,
|
|
|
+ "isImageProp": 0,
|
|
|
"propShowOrder": 1,
|
|
|
+ "showOrder": 0,
|
|
|
+ "propValue": size,
|
|
|
"skuPropValueList": [
|
|
|
{"propValue": str(37),
|
|
|
"showOrder": 1}
|
|
|
],
|
|
|
- }
|
|
|
- )
|
|
|
+ })
|
|
|
detailImageUrl = self.uploadImage(local_path=detail_path)
|
|
|
category_info = "流行男鞋>>休闲鞋>>时尚休闲鞋"
|
|
|
itemData = {
|