bidprice3

This commit is contained in:
jiangyong27 2023-04-09 16:09:22 +08:00
parent 63c4dd7b25
commit 5012c5e63a
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ func (p *Processor) CheckOrder(order *model.Order) (*common.CheckInfo, error) {
result := new(common.CheckInfo) result := new(common.CheckInfo)
result.TotalRealPrice = filmPrice.VipPrice * int64(order.SeatNum) result.TotalRealPrice = filmPrice.VipPrice * int64(order.SeatNum)
result.TotalOriginPrice = filmPrice.OriginPrice * 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.SessionCode = filmPrice.SessionId
result.SessionType = "view" result.SessionType = "view"
log.Infof("check order[%s][%s] previewOrder[%s] [%s][%s][%s] success", log.Infof("check order[%s][%s] previewOrder[%s] [%s][%s][%s] success",