敏感词和非创建商品处理

This commit is contained in:
苏尹岚
2020-05-14 16:32:11 +08:00
parent 6eb85cb9aa
commit 946aad298d

View File

@@ -315,9 +315,9 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
Length: 100,
Width: 100,
Height: 100,
Weight: 500,
JdPrice: int(storeSku.UnitPrice) / 100,
MarketPrice: int(storeSku.UnitPrice) / 100,
Weight: 0.5,
JdPrice: jxutils.IntPrice2Standard(storeSku.UnitPrice),
MarketPrice: jxutils.IntPrice2Standard(storeSku.UnitPrice),
}
//上传京东图片
@@ -425,7 +425,7 @@ func buildCreateWareParam(storeSku *dao.StoreSkuSyncInfo) (createSkuParamWare *j
}
attrsPropSku = append(attrsPropSku, attrSku)
sku := &jdshopapi.CreateSkuParamSkus{
JdPrice: int(v.VendorPrice) / 100,
JdPrice: jxutils.IntPrice2Standard(v.VendorPrice),
StockNum: 9999,
Type: "com.jd.pop.ware.ic.api.domain.sku",
Type2: "com.jd.pop.ware.ic.api.domain.Sku",