2023-06-14 06:57:20 +00:00
|
|
|
// Code generated by goctl. DO NOT EDIT.
|
|
|
|
package handler
|
|
|
|
|
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
|
2023-06-15 04:00:32 +00:00
|
|
|
"fusenapi/server/map-library/internal/svc"
|
2023-06-14 06:57:20 +00:00
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
|
|
|
|
|
|
|
func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
|
|
server.AddRoutes(
|
|
|
|
[]rest.Route{
|
|
|
|
{
|
|
|
|
Method: http.MethodGet,
|
|
|
|
Path: "/map-library/list",
|
|
|
|
Handler: GetMapLibraryListHandler(serverCtx),
|
|
|
|
},
|
2023-06-20 03:52:26 +00:00
|
|
|
{
|
|
|
|
Method: http.MethodPost,
|
|
|
|
Path: "/map-library/save",
|
|
|
|
Handler: SaveMapLibraryHandler(serverCtx),
|
|
|
|
},
|
2023-06-14 06:57:20 +00:00
|
|
|
},
|
|
|
|
)
|
|
|
|
}
|