fusenapi/server/data-transfer/internal/handler/routes.go

23 lines
473 B
Go
Raw Normal View History

2023-06-07 11:47:45 +00:00
// Code generated by goctl. DO NOT EDIT.
package handler
import (
2023-06-08 03:03:20 +00:00
svc2 "fusenapi/server/data-transfer/internal/svc"
2023-06-07 11:47:45 +00:00
"net/http"
"github.com/zeromicro/go-zero/rest"
)
2023-06-08 03:03:20 +00:00
func RegisterHandlers(server *rest.Server, serverCtx *svc2.ServiceContext) {
2023-06-07 11:47:45 +00:00
server.AddRoutes(
[]rest.Route{
{
Method: http.MethodGet,
Path: "/standard-logo/list",
Handler: GetStandardLogoListHandler(serverCtx),
},
},
rest.WithJwt(serverCtx.Config.Auth.AccessSecret),
)
}