transfer_rs/cmd/api/internal/handler/routes.go

26 lines
498 B
Go

// Code generated by goctl. DO NOT EDIT.
package handler
import (
"net/http"
transfer "rs/cmd/api/internal/handler/transfer"
"rs/cmd/api/internal/svc"
"github.com/zeromicro/go-zero/rest"
)
func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
server.AddRoutes(
[]rest.Route{
{
// 荣数立减金发放
Method: http.MethodPost,
Path: "/coupon/grant",
Handler: transfer.MarketHandler(serverCtx),
},
},
rest.WithPrefix("/cross/v1"),
)
}