vendori
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user