123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "bp.jydev.jianyu360.cn/BaseService/jyMicroservices/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),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/bidDistributor",
- Handler: bidDistributorHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/getRecList",
- Handler: bidRecListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/subscribe/:userType/saveTSGuide",
- Handler: saveTSGuideHandler(serverCtx),
- },
- },
- )
- }
|