city_service.go 363 B

123456789101112
  1. package server
  2. import "xiaoniaokuaiyan.com/xiaoniao/entity"
  3. type CityService interface {
  4. GetOpenCityList() (interface{}, error)
  5. GetCityListById([]int) (interface{}, error)
  6. GetCountyByCityId(int) (interface{}, error)
  7. GetCityAllList() (interface{}, error)
  8. GetCityByShortName(shortName string) (entity.City, error)
  9. GetCityOpenCounty() (interface{}, error)
  10. }