1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "jyBXBase/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: "/bidcoll/isColl",
- Handler: IsCollActionHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bidcoll/action",
- Handler: BCActionHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bidcoll/label",
- Handler: LabelActionHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bidcoll/getLabel",
- Handler: GetLabelActionHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bidcoll/list",
- Handler: ListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/bidcoll/addLabel",
- Handler: AddLabelHandler(serverCtx),
- },
- },
- )
- }
|