1
This commit is contained in:
@@ -3,7 +3,6 @@ package localjx
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
|
||||||
"math"
|
"math"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
@@ -243,8 +242,6 @@ func CreateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64,
|
|||||||
return outJxOrder, err
|
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 {
|
if outJxOrder.TotalPrice != jxOrder.TotalPrice && jxOrder.IsPriceDefend != model.YES {
|
||||||
return nil, fmt.Errorf("商品或配送信息发生改变,请重新下单")
|
return nil, fmt.Errorf("商品或配送信息发生改变,请重新下单")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user