33 lines
655 B
Go
Raw Normal View History

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