测试接口
This commit is contained in:
@@ -262,7 +262,6 @@ func CreateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64,
|
||||
callNewOrder(order)
|
||||
}
|
||||
}
|
||||
fmt.Println("testststststststst", utils.Format4Output(outJxOrder, false))
|
||||
return outJxOrder, err
|
||||
}
|
||||
|
||||
@@ -870,11 +869,13 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64
|
||||
if IsDeliverySelf {
|
||||
outJxOrder.FreightPrice = 0
|
||||
}
|
||||
outJxOrder.Skus[0].DefendPrice = jxOrder.Skus[0].DefendPrice
|
||||
}
|
||||
if err == nil {
|
||||
outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice
|
||||
outJxOrder.ActualPayPrice = outJxOrder.TotalPrice
|
||||
fmt.Println("testststststststst", utils.Format4Output(outJxOrder, false))
|
||||
fmt.Println("tes111111111111111", utils.Format4Output(jxOrder, false))
|
||||
outJxOrder.Skus[0].DefendPrice = jxOrder.Skus[0].DefendPrice
|
||||
} else {
|
||||
outJxOrder = nil
|
||||
deliveryAddress = nil
|
||||
|
||||
Reference in New Issue
Block a user