This commit is contained in:
苏尹岚
2021-03-17 17:35:40 +08:00
parent e0a1393eee
commit f0d41bc043
6 changed files with 84 additions and 16 deletions

View File

@@ -420,6 +420,18 @@ func genSkuParamsFromStoreSkuInfo2(storeSku *dao.StoreSkuSyncInfo, isCreate, isE
"url": storeSku.Img3,
})
}
if storeSku.Img4 != "" {
photos = append(photos, map[string]interface{}{
"is_master": false,
"url": storeSku.Img4,
})
}
if storeSku.Img5 != "" {
photos = append(photos, map[string]interface{}{
"is_master": false,
"url": storeSku.Img5,
})
}
params = map[string]interface{}{
// "name": utils.LimitMixedStringLen(storeSku.SkuName, ebaiapi.MaxSkuNameByteCount),
"left_num": model.MaxStoreSkuStockQty,