测试接口
This commit is contained in:
@@ -873,7 +873,9 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64
|
|||||||
if err == nil {
|
if err == nil {
|
||||||
outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice
|
outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice
|
||||||
outJxOrder.ActualPayPrice = outJxOrder.TotalPrice
|
outJxOrder.ActualPayPrice = outJxOrder.TotalPrice
|
||||||
outJxOrder.Skus[0].DefendPrice = jxOrder.Skus[0].DefendPrice
|
if jxOrder.OrderType == model.OrderTypeDefendPrice {
|
||||||
|
outJxOrder.Skus[0].DefendPrice = jxOrder.Skus[0].DefendPrice
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
outJxOrder = nil
|
outJxOrder = nil
|
||||||
deliveryAddress = nil
|
deliveryAddress = nil
|
||||||
|
|||||||
Reference in New Issue
Block a user