routes.go 965 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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: "/bidcoll/isColl",
  14. Handler: IsCollActionHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/bidcoll/action",
  19. Handler: BCActionHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/bidcoll/label",
  24. Handler: LabelActionHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/bidcoll/getLabel",
  29. Handler: GetLabelActionHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/bidcoll/list",
  34. Handler: ListHandler(serverCtx),
  35. },
  36. {
  37. Method: http.MethodPost,
  38. Path: "/bidcoll/addLabel",
  39. Handler: AddLabelHandler(serverCtx),
  40. },
  41. },
  42. )
  43. }