This commit is contained in:
苏尹岚
2020-12-02 18:10:22 +08:00
parent 8fcd186ed3
commit 3405090597
3 changed files with 9 additions and 4 deletions

View File

@@ -348,6 +348,6 @@ 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)
func GetStationList(ctx *jxcontext.Context, stationName string, cityCode int, lat, lng float64, oilCode string, sortType, offset, pageSize int) (pageInfo *model.PagedInfo, err error) {
return dao.GetStationInfoList(dao.GetDB(), stationName, cityCode, lat, lng, oilCode, sortType, offset, pageSize)
}