From 069c104d09e27ff59aa3cf0891ed0da31b9ca402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 3 Dec 2020 11:46:22 +0800 Subject: [PATCH] D:/git/ --- business/model/dao/dao_job.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/business/model/dao/dao_job.go b/business/model/dao/dao_job.go index bfa2b78a0..9ef3d2623 100644 --- a/business/model/dao/dao_job.go +++ b/business/model/dao/dao_job.go @@ -476,16 +476,6 @@ func GetStationInfoList(db *DaoDB, stationName string, cityCode int, lat, lng fl TotalCount: GetLastTotalRowCount(db), Data: stations, } - // for _, v := range stations { - // var distance float64 - // if v.Longitude != 0 && v.Latitude != 0 { - // distance = jxutils.EarthDistance(lng, lat, v.Longitude, v.Latitude) - // } else { - // distance = 0 - // } - // v.Distance = distance - // } - // pagedInfo.Data = stations } return pagedInfo, err }