This commit is contained in:
邹宗楠
2024-11-19 14:48:09 +08:00
parent 4033242902
commit 820845c511
2 changed files with 3 additions and 1 deletions

View File

@@ -262,6 +262,7 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
Weight: getSkuWeight(product),
VendorPrice: jxutils.StandardPrice2Int(utils.MustInterface2Float64(product["price"])),
SalePrice: jxutils.StandardPrice2Int(utils.MustInterface2Float64(product["price"])),
LocationCode: utils.Interface2String(product["location_code"]),
}
if product["upc"] != nil && product["upc"].(string) != "" {
sku.Upc = product["upc"].(string)