123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- // Code generated by hertz generator.
- package main
- import (
- "github.com/cloudwego/hertz/pkg/app/server"
- handler "pji_desktop_http/biz/handler"
- "pji_desktop_http/biz/handler/config_service"
- "pji_desktop_http/biz/handler/map_service"
- "pji_desktop_http/biz/handler/simulation_service"
- "pji_desktop_http/biz/handler/user_service"
- "pji_desktop_http/biz/handler/world_service"
- )
- // customizeRegister registers customize routers.
- func customizedRegister(r *server.Hertz) {
- r.GET("/ping", handler.Ping)
- r.GET("/test/query/user", user_service.TestQueryUser)
- r.POST("/map/check/mapbuf/consistency", map_service.CheckMapBufConsistency)
- r.GET("/map/check/deviceMap/status", map_service.CheckDeviceMapStatus)
- r.GET("/map/download/oss", map_service.DownloadOSSFile)
- r.GET("/map/download/zip", map_service.DownloadMapZipFile)
- r.GET("/map/download/mapbag", map_service.DownloadMapBagFile)
- r.GET("/map/upload/map", map_service.UploadMapFile)
- r.POST("/map/upload/map", map_service.UploadMapFile)
- r.POST("/map/add/record", map_service.AddMapUpdateRecord)
- r.POST("/map/query/update/record", map_service.QueryMapUpdateRecord)
- r.POST("/map/upload/update/map", map_service.TestUploadUpdateMap)
- r.GET("/map/update/deviceMap/test", map_service.UpdateDeviceMapById)
- r.GET("/map/update/deviceMap/record", map_service.UpdateDeviceMap)
- r.GET("/map/update/pji/upload", map_service.UploadPjiMapAndNotify)
- r.GET("/map/rescan/notify/add", map_service.AddMapRescanNotifyWithHttp)
- r.GET("/map/rescan/notify/list", map_service.QueryMapRescanNotifyList)
- r.POST("/map/rescan/notify/list", map_service.QueryMapRescanNotifyList)
- r.GET("/world/upload/world", world_service.UploadWorldFile)
- r.POST("/world/upload/world", world_service.UploadWorldFile)
- r.GET("/world/upload/stl", world_service.UploadStlFile)
- r.POST("/world/upload/stl", world_service.UploadStlFile)
- r.GET("/simulation/upload/pdf", simulation_service.UploadPdfFile)
- r.POST("/simulation/upload/pdf", simulation_service.UploadPdfFile)
- r.GET("/simulation/upload/bag", simulation_service.UploadBagFile)
- r.POST("/simulation/upload/bag", simulation_service.UploadBagFile)
- r.GET("/simulation/upload/pgm", simulation_service.UploadPgmFile)
- r.POST("/simulation/upload/pgm", simulation_service.UploadPgmFile)
- r.GET("/world/check/file/world/status", world_service.CheckWorldFileStatus)
- r.GET("/simulation/download/zip", simulation_service.DownloadSimulationZipFile)
- r.GET("/simulation/check/file/data/status", simulation_service.CheckDataFileStatus)
- r.POST("/simulation/add/record", simulation_service.AddSimulationRecord)
- r.POST("/simulation/query/test/record", simulation_service.QueryTestRecord)
- r.POST("/simulation/download/oss/key", simulation_service.DownloadFileByKeys)
- r.GET("/config/query/rescanReminderThreshold", config_service.QueryRescanReminderThreshold)
- r.GET("/config/update/rescanReminderThreshold", config_service.UpdateRescanReminderThreshold)
- }
|