This commit is contained in:
邹宗楠
2025-04-15 15:14:25 +08:00
parent a299f1b559
commit 7c05b5f324

View File

@@ -3,7 +3,6 @@ package localjx
import (
"errors"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"math"
"regexp"
"strings"
@@ -243,8 +242,6 @@ func CreateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64,
return outJxOrder, err
}
globals.SugarLogger.Debugf("----jxorder:= %s", utils.Format4Output(jxOrder, false))
globals.SugarLogger.Debugf("----outJxOrder:= %s", utils.Format4Output(outJxOrder, false))
if outJxOrder.TotalPrice != jxOrder.TotalPrice && jxOrder.IsPriceDefend != model.YES {
return nil, fmt.Errorf("商品或配送信息发生改变,请重新下单")
}