aa
This commit is contained in:
@@ -480,7 +480,9 @@ func GetStationInfoList(db *DaoDB, stationName string, cityCode int, lat, lng fl
|
||||
// Data: stations,
|
||||
}
|
||||
for _, v := range stations {
|
||||
utils.Map2StructByJson(v.Prices, &v.OilInfo, false)
|
||||
var oilInfo []*model.OilInfo
|
||||
utils.Map2StructByJson(v.Prices, &oilInfo, false)
|
||||
v.OilInfo = oilInfo
|
||||
}
|
||||
fmt.Println("11111111111111111111111111111111111111111", utils.Format4Output(stations, false))
|
||||
if math.Abs(utils.Int2Float64(sortType)) == 3 {
|
||||
|
||||
Reference in New Issue
Block a user