mirror of http://gitlab.batiao8.com/yic/film.git
bidprice3
This commit is contained in:
parent
63c4dd7b25
commit
5012c5e63a
|
@ -355,7 +355,7 @@ func (p *Processor) CheckOrder(order *model.Order) (*common.CheckInfo, error) {
|
|||
result := new(common.CheckInfo)
|
||||
result.TotalRealPrice = filmPrice.VipPrice * int64(order.SeatNum)
|
||||
result.TotalOriginPrice = filmPrice.OriginPrice * int64(order.SeatNum)
|
||||
result.CouponPrice = 0
|
||||
result.CouponPrice = (filmPrice.OriginPrice - filmPrice.VipPrice) * int64(order.SeatNum)
|
||||
result.SessionCode = filmPrice.SessionId
|
||||
result.SessionType = "view"
|
||||
log.Infof("check order[%s][%s] previewOrder[%s] [%s][%s][%s] success",
|
||||
|
|
Loading…
Reference in New Issue