routes.go 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "jyBXBase/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/base/isColled",
  14. Handler: IsCollActionHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/jybx/base/collAction",
  19. Handler: BCActionHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/jybx/base/label",
  24. Handler: LabelActionHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/jybx/base/getLabel",
  29. Handler: GetLabelActionHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/jybx/base/collList",
  34. Handler: ListHandler(serverCtx),
  35. },
  36. {
  37. Method: http.MethodPost,
  38. Path: "/jybx/base/addLabel",
  39. Handler: AddLabelHandler(serverCtx),
  40. },
  41. {
  42. Method: http.MethodPost,
  43. Path: "/jybx/base/showSearchScreen",
  44. Handler: ShowSearchScreenHandler(serverCtx),
  45. },
  46. {
  47. Method: http.MethodPost,
  48. Path: "/jybx/base/addSearchScreen",
  49. Handler: AddSearchScreenHandler(serverCtx),
  50. },
  51. {
  52. Method: http.MethodPost,
  53. Path: "/jybx/base/checkSearchScreen",
  54. Handler: CheckSearchScreenHandler(serverCtx),
  55. },
  56. {
  57. Method: http.MethodPost,
  58. Path: "/jybx/base/delSearchScreen",
  59. Handler: DelSearchScreenHandler(serverCtx),
  60. },
  61. {
  62. Method: http.MethodPost,
  63. Path: "/jybx/base/newest",
  64. Handler: NewestBiddingHandler(serverCtx),
  65. },
  66. {
  67. Method: http.MethodPost,
  68. Path: "/jybx/base/included",
  69. Handler: IncludedHandler(serverCtx),
  70. },
  71. },
  72. )
  73. }