123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- // 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/mapbuf/consistency", map_service.CheckMapBufConsistency)
- 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("/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)
- }
|