商品详情增加

This commit is contained in:
苏尹岚
2020-05-13 10:57:27 +08:00
parent 6e4ee33091
commit 20754c2e80

View File

@@ -292,7 +292,7 @@ func updateOrCreateCategories(storeCat *dao.SkuStoreCatInfo, isCreate bool) (err
func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *jdshopapi.CreateSkuParamWare, createSkuParamSkus []*jdshopapi.CreateSkuParamSkus, err error) {
var images []*jdshopapi.CreateSkuParamImages
createSkuParamWare = &jdshopapi.CreateSkuParamWare{
Title: storeSku.SkuName,
Title: storeSku.Name,
ShopCategorys: []int{utils.Str2Int(storeSku.VendorCatID)},
CategoryID: int(storeSku.VendorVendorCatID),
BrandID: jdshopapi.JxBrandId,