|
@@ -23,7 +23,7 @@ func NewWire(viperViper *viper.Viper) (*server.ExtServer, error) {
|
|
|
mapLocationModel := model.NewMapLocationModel(benewDB)
|
|
|
locationService := service.NewLocationService(viperViper, mapLocationModel)
|
|
|
aMapService := service.NewAMapService(viperViper, mapLocationModel, locationService)
|
|
|
- gpsService := service.NewGpsService(viperViper, mapLocationModel)
|
|
|
+ gpsService := service.NewGpsService(viperViper, mapLocationModel, locationService)
|
|
|
locationHeader := handler.NewLocationHeader(handlerHandler, aMapService, gpsService)
|
|
|
whiteIplistModel := model.NewWhiteIplistModel(benewDB)
|
|
|
whiteIplistService := service.NewWhiteIplistService(whiteIplistModel)
|