aa
This commit is contained in:
@@ -483,10 +483,8 @@ func GetStationInfoList(db *DaoDB, stationName string, cityCode int, lat, lng fl
|
||||
for _, v := range stations {
|
||||
var oilInfo []*model.OilInfo
|
||||
json.Unmarshal([]byte(strings.ReplaceAll(v.Prices, "\\", "")), &oilInfo)
|
||||
// utils.Map2StructByJson(strings.ReplaceAll(v.Prices, "\\", ""), &oilInfo, false)
|
||||
v.OilInfo = oilInfo
|
||||
}
|
||||
fmt.Println("11111111111111111111111111111111111111111", utils.Format4Output(stations, false))
|
||||
if math.Abs(utils.Int2Float64(sortType)) == 3 {
|
||||
if oilCode != "" {
|
||||
for i := 0; i < len(stations); i++ {
|
||||
|
||||
Reference in New Issue
Block a user