This commit is contained in:
邹宗楠
2022-05-24 09:57:21 +08:00
parent 58e130b66a
commit 78e4a89147

View File

@@ -1009,7 +1009,7 @@ func generateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64
globals.SugarLogger.Debug("=====1", jxOrder.StoreID, jxOrder.StoreName, storeDetail.BrandName, outJxOrder.FreightPrice)
globals.SugarLogger.Debug("=====3", strings.Contains(storeDetail.BrandName, model.B2BTag), jxOrder.OrderPrice, jxOrder.OrderPrice < 10000)
globals.SugarLogger.Debug("=====4", strings.Contains(storeDetail.BrandName, model.B2BTag) && jxOrder.OrderPrice < 10000 )
if strings.Contains(storeDetail.BrandName, model.B2BTag) && jxOrder.OrderPrice < 10000 {
if strings.Contains(storeDetail.BrandName, model.B2BTag) && jxOrder.OrderPrice < 1000000 {
outJxOrder.FreightPrice = 10000 // b2b运费一百元
}
globals.SugarLogger.Debug("====2", outJxOrder.FreightPrice)