This commit is contained in:
suyl
2021-05-21 14:59:10 +08:00
parent 3517ab6a33
commit 0fd76bd77f

View File

@@ -253,7 +253,7 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
if !strings.Contains(product["app_food_code"].(string), "mtcode") {
sku.VendorSkuID = product["app_food_code"].(string)
} else {
sku.VendorSkuID = product["mt_sku_id"].(string)
sku.VendorSkuID = utils.Int64ToStr(utils.Interface2Int64WithDefault(product["mt_sku_id"], 0))
}
}
if sku.Weight == 0 {