waykgpric
This commit is contained in:
@@ -624,7 +624,7 @@ func SendJdDelivery(ctx *jxcontext.Context, dOrder *model.DeliveryOrder) (errCod
|
||||
if dOrder.Weight <= 3 {
|
||||
dOrder.PayPrice = 1000
|
||||
} else {
|
||||
dOrder.PayPrice = 1000 + int(float64(200)*math.Ceil(dOrder.Weight-3))
|
||||
dOrder.PayPrice = 1000 + int(float64(waybillKgPrice)*math.Ceil(dOrder.Weight-3))
|
||||
}
|
||||
}
|
||||
sendDeliveryList, _, err := dao.QueryUserDeliveryAddress(db, int64(dOrder.DeliverySendID), nil, 0, 0, 0)
|
||||
|
||||
Reference in New Issue
Block a user