This commit is contained in:
苏尹岚
2020-11-20 17:12:56 +08:00
parent b519864234
commit 351b69efde

View File

@@ -499,16 +499,22 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
// TransportID: jdshopapi.TransportID,
WareStatus: 8, //上架待审核
OuterID: utils.Int2Str(storeSku.NameID),
VenderID: jdshopapi.VenderID,
Length: 100,
Width: 100,
Height: 100,
Weight: 0.5,
JdPrice: jxutils.IntPrice2Standard(storeSku.UnitPrice),
// VenderID: jdshopapi.VenderID,
Length: 100,
Width: 100,
Height: 100,
Weight: 0.5,
JdPrice: jxutils.IntPrice2Standard(storeSku.UnitPrice),
// MarketPrice: jxutils.IntPrice2Standard(storeSku.UnitPrice),
// PromiseID: jdshopapi.JdsPromiseID,
}
if storeSku.VendorOrgCode == "1" {
createSkuParamWare.VenderID = jdshopapi.VenderID
} else {
createSkuParamWare.VenderID = jdshopapi.VendorID2
}
if storeSku.VendorVendorCatID != jdshopapi.JdsOtherMeatCatID {
createSkuParamWare.PromiseID = jdshopapi.JdsPromiseID
}