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

29 lines
590 B
Go
Raw Normal View History

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