12345678910111213141516171819202122232425262728293031323334353637383940 |
- // 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/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/mapbufconsistency", map_service.CheckMapBufConsistency)
- r.GET("/map/download/ossfile", map_service.DownloadOSSFile)
- r.GET("/map/download/zipfile", map_service.DownloadMapZipFile)
- r.GET("/map/download/mapbagfile", map_service.DownloadMapBagFile)
- r.GET("/world/upload/worldfile", world_service.UploadWorldFile)
- r.POST("/world/upload/worldfile", world_service.UploadWorldFile)
- r.GET("/world/upload/stlfile", world_service.UploadSTLFile)
- r.POST("/world/upload/stlfile", world_service.UploadSTLFile)
- r.GET("/world/check/file/world/status", world_service.CheckWorldFileStatus)
- r.GET("/simulation/download/zipfile", simulation_service.DownloadSimulationZipFile)
- r.GET("/simulation/check/file/data/status", simulation_service.CheckDataFileStatus)
- }
|