This commit is contained in:
richboo111
2022-08-23 10:28:04 +08:00
parent ee74854165
commit cce72fe054

View File

@@ -1026,9 +1026,9 @@ 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 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