敏感词和非创建商品处理
This commit is contained in:
@@ -315,9 +315,9 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
|||||||
Length: 100,
|
Length: 100,
|
||||||
Width: 100,
|
Width: 100,
|
||||||
Height: 100,
|
Height: 100,
|
||||||
Weight: 500,
|
Weight: 0.5,
|
||||||
JdPrice: int(storeSku.UnitPrice) / 100,
|
JdPrice: jxutils.IntPrice2Standard(storeSku.UnitPrice),
|
||||||
MarketPrice: int(storeSku.UnitPrice) / 100,
|
MarketPrice: jxutils.IntPrice2Standard(storeSku.UnitPrice),
|
||||||
}
|
}
|
||||||
|
|
||||||
//上传京东图片
|
//上传京东图片
|
||||||
@@ -425,7 +425,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
|
|||||||
}
|
}
|
||||||
attrsPropSku = append(attrsPropSku, attrSku)
|
attrsPropSku = append(attrsPropSku, attrSku)
|
||||||
sku := &jdshopapi.CreateSkuParamSkus{
|
sku := &jdshopapi.CreateSkuParamSkus{
|
||||||
JdPrice: int(v.VendorPrice) / 100,
|
JdPrice: jxutils.IntPrice2Standard(v.VendorPrice),
|
||||||
StockNum: 9999,
|
StockNum: 9999,
|
||||||
Type: "com.jd.pop.ware.ic.api.domain.sku",
|
Type: "com.jd.pop.ware.ic.api.domain.sku",
|
||||||
Type2: "com.jd.pop.ware.ic.api.domain.Sku",
|
Type2: "com.jd.pop.ware.ic.api.domain.Sku",
|
||||||
|
|||||||
Reference in New Issue
Block a user