123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "app.yhyue.com/moapp/jyMarketing/api/internal/svc"
- "github.com/tal-tech/go-zero/rest"
- )
- func RegisterHandlers(engine *rest.Server, serverCtx *svc.ServiceContext) {
- engine.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.MethodPost,
- Path: "/advertisingClick",
- Handler: advertisingClickHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/advertisingExposure",
- Handler: advertisingExposureHandler(serverCtx),
- },
- },
- )
- }
|