灵异创建订单

This commit is contained in:
苏尹岚
2020-05-06 18:22:13 +08:00
parent 6f266fdf23
commit 3e22113d2c

View File

@@ -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("商品或配送信息发生改变,请重新下单")
}