123456789101112131415161718192021222324252627282930313233343536373839404142 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- "app.yhyue.com/moapp/jyResourcesCenter/api/internal/svc"
- "github.com/tal-tech/go-zero/rest"
- )
- func RegisterHandlers(engine *rest.Server, serverCtx *svc.ServiceContext) {
- engine.AddRoutes(
- []rest.Route{
- {
- Method: http.MethodPost,
- Path: "/resources/updateUserBalance",
- Handler: UpdateUserBalanceHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/findPreview",
- Handler: FindPreviewHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/findRecord",
- Handler: FindRecordHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/findAuth",
- Handler: FindAuthHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/findBalance",
- Handler: FindBalanceHandler(serverCtx),
- },
- },
- )
- }
|