1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "jyBXSubscribe/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/subscribe/:userType/list",
- Handler: subscribeListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/someInfo",
- Handler: someInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/update",
- Handler: subscribeUpdateHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/byPushHistory",
- Handler: ByPushHistoryHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/setRead",
- Handler: SetReadHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/getKey",
- Handler: getKeyHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/distributor",
- Handler: distributorHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/viewStatus",
- Handler: viewStatusHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/msgDistributor",
- Handler: msgDistributorHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/getUser",
- Handler: getUserHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/setUser",
- Handler: setUserHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/getPushSet",
- Handler: getPushSetHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/setPushSet",
- Handler: setPushSetHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/getStaffSubscribe",
- Handler: getStaffSubscribeListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/getStaffSubscribeDetail",
- Handler: getStaffSubscribeDetailHandler(serverCtx),
- },
- },
- )
- }
|