88 lines
2.0 KiB
Go
88 lines
2.0 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/get-type",
|
|
Handler: UserGetTypeHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/basic-info",
|
|
Handler: UserSaveBasicInfoHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/status-config",
|
|
Handler: UserStatusConfigHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/basic-info",
|
|
Handler: UserBasicInfoHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodGet,
|
|
Path: "/api/user/address-list",
|
|
Handler: UserAddressListHandler(serverCtx),
|
|
},
|
|
{
|
|
Method: http.MethodPost,
|
|
Path: "/api/user/add-address",
|
|
Handler: UserAddAddressHandler(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),
|
|
},
|
|
},
|
|
)
|
|
}
|