1
This commit is contained in:
@@ -1032,6 +1032,11 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64
|
|||||||
if storeDetail.ID == 668470 || storeDetail.ID == 668469 {
|
if storeDetail.ID == 668470 || storeDetail.ID == 668469 {
|
||||||
outJxOrder.FreightPrice = 1
|
outJxOrder.FreightPrice = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if IsDeliverySelf {
|
||||||
|
outJxOrder.FreightPrice = 0
|
||||||
|
}
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
if jxOrder.OrderType == model.OrderTypeNormal {
|
if jxOrder.OrderType == model.OrderTypeNormal {
|
||||||
outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice
|
outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice
|
||||||
|
|||||||
Reference in New Issue
Block a user