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

import (
	"net/http"

	"bp.jydev.jianyu360.cn/BaseService/resourceCenter/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:    "/resourceCenter/surplus",
				Handler: surplusDetailHandler(serverCtx),
			},
			{
				Method:  http.MethodPost,
				Path:    "/resourceCenter/haspowers",
				Handler: haspowersHandler(serverCtx),
			},
			{
				Method:  http.MethodPost,
				Path:    "/resourceCenter/waitEmpowerDetail",
				Handler: waitEmpowerDetailHandler(serverCtx),
			},
			{
				Method:  http.MethodPost,
				Path:    "/resourceCenter/empowerList",
				Handler: empowerListHandler(serverCtx),
			},
		},
	)
}
