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