fusenapi/server/info/internal/handler/routes.go

88 lines
2.0 KiB
Go
Raw Normal View History

2023-08-31 08:17:32 +00:00
// Code generated by goctl. DO NOT EDIT.
package handler
import (
"net/http"
"fusenapi/server/info/internal/svc"
"github.com/zeromicro/go-zero/rest"
)
func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{
Method: http.MethodPost,
Path: "/api/info/user",
Handler: InfoHandler(serverCtx),
},
2023-09-26 09:16:10 +00:00
{
2023-09-26 09:20:44 +00:00
Method: http.MethodPost,
2023-09-26 09:16:10 +00:00
Path: "/api/info/user/profile",
Handler: UserGetProfileHandler(serverCtx),
},
2023-10-26 07:28:44 +00:00
{
Method: http.MethodGet,
Path: "/api/info/user/profile/default",
Handler: UserGetDefaultProfileHandler(serverCtx),
},
2023-09-26 07:02:09 +00:00
{
Method: http.MethodPost,
2023-09-26 10:03:29 +00:00
Path: "/api/info/user/profile/base/update",
2023-09-26 09:45:07 +00:00
Handler: UpdateProfileBaseHandler(serverCtx),
2023-09-26 07:02:09 +00:00
},
2023-09-25 07:58:33 +00:00
{
Method: http.MethodPost,
Path: "/api/info/address/default",
Handler: AddressDefaultHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/api/info/address/add",
Handler: AddressAddHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/api/info/address/update",
Handler: AddressUpdateHandler(serverCtx),
},
2023-09-28 09:06:38 +00:00
{
Method: http.MethodPost,
Path: "/api/info/address/update/used",
Handler: AddressUsedUpdateHandler(serverCtx),
},
2023-09-25 07:58:33 +00:00
{
Method: http.MethodPost,
Path: "/api/info/address/delete",
Handler: AddressDeleteHandler(serverCtx),
},
2023-09-26 02:45:53 +00:00
{
Method: http.MethodGet,
Path: "/api/info/address/list",
Handler: AddressListHandler(serverCtx),
},
2023-10-08 04:18:58 +00:00
{
Method: http.MethodGet,
Path: "/api/info/restaurant/list",
Handler: RestaurantListHandler(serverCtx),
},
2023-10-20 05:25:35 +00:00
{
Method: http.MethodPost,
Path: "/api/info/prelogo/search/suggestions",
Handler: PreLogoSearchSuggestionsHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/api/info/prelogo/search",
Handler: PreLogoSearchHandler(serverCtx),
},
2023-10-11 04:23:41 +00:00
{
Method: http.MethodPost,
Path: "/api/info/contact/us",
Handler: ContactUsHandler(serverCtx),
},
2023-08-31 08:17:32 +00:00
},
)
}