12345678910111213141516171819202122232425262728293031323334353637 |
- // 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: "/resources/findPreview",
- Handler: FindPreviewHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/findRecord",
- Handler: FindRecordHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/findAuth",
- Handler: FindAuthHandler(serverCtx),
- },
- },
- )
- }
|