加入测试
This commit is contained in:
@@ -1017,7 +1017,10 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64
|
||||
if len(discountPrice) == 1 && outJxOrder.OrderPrice >= int64(discountPrice[0].DeliveryFeeDeductionSill) {
|
||||
outJxOrder.FreightPrice = outJxOrder.FreightPrice - int64(discountPrice[0].DeliveryFeeDeductionFee)
|
||||
}
|
||||
|
||||
// ?????????????????????? 测试
|
||||
if storeDetail.ID == 668470 {
|
||||
outJxOrder.FreightPrice = 1
|
||||
}
|
||||
if err == nil {
|
||||
if jxOrder.OrderType == model.OrderTypeNormal {
|
||||
outJxOrder.TotalPrice = outJxOrder.OrderPrice + outJxOrder.FreightPrice
|
||||
|
||||
Reference in New Issue
Block a user