This commit is contained in:
苏尹岚
2020-12-02 17:08:35 +08:00
parent c8c7dbf38e
commit 0f561dc394
5 changed files with 97 additions and 0 deletions

View File

@@ -347,3 +347,7 @@ func EjyStationToStationInfo(station *ejyapi.GetStationListResult) (stationInfo
}
return stationInfo
}
func GetStationList(ctx *jxcontext.Context, stationName string, cityCode int, lat, lng float64, sortType, offset, pageSize int) (pageInfo *model.PagedInfo, err error) {
return dao.GetStationInfoList(dao.GetDB(), stationName, cityCode, lat, lng, sortType, offset, pageSize)
}