83 lines
1.9 KiB
Go
83 lines
1.9 KiB
Go
// Code generated by goctl. DO NOT EDIT.
|
|
package handler
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"fusenapi/server/home-user-auth/internal/svc"
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
)
|
|
|
|
func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
|
|
server.AddRoutes(
|
|
[]rest.Route{
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/fonts",
|
|
Handler: UserFontsHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/status-config",
|
|
Handler: UserStatusConfigHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/contact-service",
|
|
Handler: UserContactServiceHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/order-delete",
|
|
Handler: UserOderDeleteHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/order-list",
|
|
Handler: UserOrderListHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/order-delete",
|
|
Handler: UserOrderDeleteHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/order-cancel",
|
|
Handler: UserOrderCancelHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/logo-list",
|
|
Handler: UserLogoListHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/one-more-order",
|
|
Handler: UserAgainOrderHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/set_user_info",
|
|
Handler: UserInfoSetHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/logo-set",
|
|
Handler: UserLogoSetHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/logo-templatetag-set",
|
|
Handler: UserLogoTemplateTagSetHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/logo-data-set",
|
|
Handler: UserLogoDataSetHandler(serverCtx),
|
|
},
|
|
},
|
|
)
|
|
}
|