// Code generated by goctl. DO NOT EDIT.
package handler

import (
	"net/http"

	"jyBXBuyer/api/internal/svc"

	"github.com/zeromicro/go-zero/rest"
)

func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
	server.AddRoutes(
		[]rest.Route{
			{
				Method:  http.MethodPost,
				Path:    "/jybx/buyer/:userType/buyerList",
				Handler: buyerSearchListHandler(serverCtx),
			},
			{
				Method:  http.MethodPost,
				Path:    "/jybx/buyer/relates/information",
				Handler: relatesInformationHandler(serverCtx),
			},
			{
				Method:  http.MethodPost,
				Path:    "/jybx/buyer/supply/info",
				Handler: buyerSupplyInfoHandler(serverCtx),
			},
		},
	)
}
