美图订单优惠分配

This commit is contained in:
苏尹岚
2020-09-18 16:56:05 +08:00
parent c02005a36d
commit 77f9dd35da

View File

@@ -262,6 +262,9 @@ func (p *PurchaseHandler) Map2Order(orderData map[string]interface{}) (order *mo
}
}
}
if sku.SalePrice < 0 {
sku.SalePrice = jxutils.StandardPrice2Int(utils.MustInterface2Float64(product["price"]))
}
// if product["isGift"].(bool) {
// sku.SkuType = 1