美图订单优惠分配
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user