123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- // Code generated by goctl. DO NOT EDIT.
- package handler
- import (
- "net/http"
- purchase "bp.jydev.jianyu360.cn/BaseService/jyMicroservices/jyBXCore/api/internal/handler/purchase"
- "bp.jydev.jianyu360.cn/BaseService/jyMicroservices/jyBXCore/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: "/jybx/core/:userType/searchList",
- Handler: searchListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/:searchType/searchLimit",
- Handler: limitSearchContentHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/show",
- Handler: participateShowHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/info",
- Handler: ParticipateInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/updateBidStatus",
- Handler: updateBidStatusHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/content",
- Handler: ParticipateContentHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/records",
- Handler: ParticipateRecordsHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/persons",
- Handler: ParticipatePersonsHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/setUpInfo",
- Handler: participateSetUpInfoHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/:actionType/info",
- Handler: participateActionHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/participate/:identity/list",
- Handler: participateListHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/statistics/pushStatistics",
- Handler: pushStatisticsHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/statistics/projectStatistics",
- Handler: projectStatisticsHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/polymerizeSearch",
- Handler: polymerizeSearchHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/statistics/projectDetails",
- Handler: statisticsProjectDetailsHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/property/searchCriteria",
- Handler: searchCriteriaHandler(serverCtx),
- },
- {
- Method: http.MethodPost,
- Path: "/jybx/core/mobileHotWord",
- Handler: mobileHotWordHandler(serverCtx),
- },
- },
- )
- server.AddRoutes(
- []rest.Route{
- {
- Method: http.MethodPost,
- Path: "/core/purchaseSearch",
- Handler: purchase.PurchaseSearchHandler(serverCtx),
- },
- },
- rest.WithPrefix("/jybx"),
- )
- }
|