|
|
@@ -194,11 +194,11 @@ func QueryQuoteDay(c *gin.Context) {
|
|
|
Utclasttime: time.Unix(int64(v.Utclasttime), 0),
|
|
|
Last: utils.IntToFloat64(int(v.Last), int(goods.DECIMALPLACE)),
|
|
|
Lastvolume: v.Lastvolume,
|
|
|
- Lastturnover: float64(v.Lastturnover),
|
|
|
+ Lastturnover: utils.IntToFloat64(int(v.Lastturnover), int(goods.DECIMALPLACE)),
|
|
|
Totalbidvolume: v.Totalbidvolume,
|
|
|
Totalaskvolume: v.Totalaskvolume,
|
|
|
Totalvolume: v.Totalvolume,
|
|
|
- Totalturnover: float64(v.Totalturnover),
|
|
|
+ Totalturnover: utils.IntToFloat64(int(v.Totalturnover), int(goods.DECIMALPLACE)),
|
|
|
Bid: utils.IntToFloat64(int(v.Bid), int(goods.DECIMALPLACE)),
|
|
|
Bid2: utils.IntToFloat64(int(v.Bid2), int(goods.DECIMALPLACE)),
|
|
|
Bid3: utils.IntToFloat64(int(v.Bid3), int(goods.DECIMALPLACE)),
|