routes.go 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "jyBXCore/api/internal/svc"
  6. "github.com/zeromicro/go-zero/rest"
  7. )
  8. func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
  9. server.AddRoutes(
  10. []rest.Route{
  11. {
  12. Method: http.MethodPost,
  13. Path: "/jybx/core/:userType/searchList",
  14. Handler: searchListHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/jybx/core/:searchType/searchLimit",
  19. Handler: limitSearchContentHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/jybx/core/participate/show",
  24. Handler: participateShowHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/jybx/core/participate/info",
  29. Handler: ParticipateInfoHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/jybx/core/participate/updateBidStatus",
  34. Handler: updateBidStatusHandler(serverCtx),
  35. },
  36. {
  37. Method: http.MethodPost,
  38. Path: "/jybx/core/participate/content",
  39. Handler: ParticipateContentHandler(serverCtx),
  40. },
  41. {
  42. Method: http.MethodPost,
  43. Path: "/jybx/core/participate/records",
  44. Handler: ParticipateRecordsHandler(serverCtx),
  45. },
  46. {
  47. Method: http.MethodPost,
  48. Path: "/jybx/core/participate/persons",
  49. Handler: ParticipatePersonsHandler(serverCtx),
  50. },
  51. {
  52. Method: http.MethodPost,
  53. Path: "/jybx/core/participate/setUpInfo",
  54. Handler: participateSetUpInfoHandler(serverCtx),
  55. },
  56. {
  57. Method: http.MethodPost,
  58. Path: "/jybx/core/participate/:actionType/info",
  59. Handler: participateActionHandler(serverCtx),
  60. },
  61. {
  62. Method: http.MethodPost,
  63. Path: "/jybx/core/participate/:identity/list",
  64. Handler: participateListHandler(serverCtx),
  65. },
  66. {
  67. Method: http.MethodPost,
  68. Path: "/jybx/core/statistics/pushStatistics",
  69. Handler: pushStatisticsHandler(serverCtx),
  70. },
  71. {
  72. Method: http.MethodPost,
  73. Path: "/jybx/core/statistics/projectStatistics",
  74. Handler: projectStatisticsHandler(serverCtx),
  75. },
  76. },
  77. )
  78. }