1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // 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),
- },
- },
- )
- }
|