This commit is contained in:
jiangyong27 2023-04-08 21:06:24 +08:00
parent c4aa2c79e8
commit 9515fdd61a
1 changed files with 2 additions and 2 deletions

View File

@ -111,8 +111,8 @@ func (w *Orders) syncOrder() {
order.Count = cast.ToInt(data["count"])
order.IsSeat = cast.ToInt(data["is_seat"])
order.LoverSeat = cast.ToInt(data["loverSeat"])
order.MinPrice = cast.ToInt64(data["min_price"])
order.MaxPrice = cast.ToInt64(data["max_price"])
order.MinPrice = int64(cast.ToFloat64(data["minPrice"]) * 100)
order.MaxPrice = int64(cast.ToFloat64(data["maxPrice"]) * 100)
if isAdd {
model.AddOrder(order)