1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "app.yhyue.com/moapp/jyMarketing/api/internal/svc"
- "github.com/zeromicro/go-zero/rest"
- )
- func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
- server.AddRoutes(
- []rest.Route{
- {
- Method: http.MethodGet,
- Path: "/activityLottery",
- Handler: activityLotteryCheckHandler(serverCtx),
- },
- {
- Method: http.MethodGet,
- Path: "/userLottery",
- Handler: userLotteryCheckHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/lotteryReceive",
- Handler: lotteryReceiveCheckHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/lotteryStateChange",
- Handler: lotteryStateChangeCheckHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/activityUse",
- Handler: activityUseCheckHandler(serverCtx),
- },
- {
- Method: http.MethodGet,
- Path: "/lotteryInfo",
- Handler: lotteryInfoCheckHandler(serverCtx),
- },
- {
- Method: http.MethodGet,
- Path: "/giveInfo",
- Handler: giveInfoCheckHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/advertisingClick",
- Handler: advertisingClickHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/advertisingExposure",
- Handler: advertisingExposureHandler(serverCtx),
- },
- {
- Method: http.MethodGet,
- Path: "/findUserLotteryId",
- Handler: findUserLotteryIdHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/lotteryGrant",
- Handler: lotteryGrantHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/lotteryGet",
- Handler: lotteryGetHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/giveActivity",
- Handler: giveActivityHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/getAllActivity",
- Handler: getAllActivityHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/getCommodityList",
- Handler: getCommodityListHandler(serverCtx),
- },
- },
- )
- }
|