灵异创建订单
This commit is contained in:
@@ -217,6 +217,7 @@ func CreateOrder(ctx *jxcontext.Context, jxOrder *JxOrderInfo, addressID int64,
|
||||
checkMatterDeliveryAddress(deliveryAddress)
|
||||
}
|
||||
if createType != OrderCreateTypePre {
|
||||
fmt.Println("test1", utils.Format4Output(outJxOrder, false))
|
||||
if outJxOrder.TotalPrice != jxOrder.TotalPrice {
|
||||
return nil, fmt.Errorf("商品或配送信息发生改变,请重新下单")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user