mirror of http://gitlab.batiao8.com/yic/film.git
price
This commit is contained in:
parent
c4aa2c79e8
commit
9515fdd61a
|
@ -111,8 +111,8 @@ func (w *Orders) syncOrder() {
|
||||||
order.Count = cast.ToInt(data["count"])
|
order.Count = cast.ToInt(data["count"])
|
||||||
order.IsSeat = cast.ToInt(data["is_seat"])
|
order.IsSeat = cast.ToInt(data["is_seat"])
|
||||||
order.LoverSeat = cast.ToInt(data["loverSeat"])
|
order.LoverSeat = cast.ToInt(data["loverSeat"])
|
||||||
order.MinPrice = cast.ToInt64(data["min_price"])
|
order.MinPrice = int64(cast.ToFloat64(data["minPrice"]) * 100)
|
||||||
order.MaxPrice = cast.ToInt64(data["max_price"])
|
order.MaxPrice = int64(cast.ToFloat64(data["maxPrice"]) * 100)
|
||||||
|
|
||||||
if isAdd {
|
if isAdd {
|
||||||
model.AddOrder(order)
|
model.AddOrder(order)
|
||||||
|
|
Loading…
Reference in New Issue