fusenapi/server/data-transfer/internal/handler/routes.go
laodaming a9e0f6b98e fix
2023-06-08 11:03:20 +08:00

23 lines
473 B
Go

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