routes.go 903 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "bp.jydev.jianyu360.cn/BaseService/biService/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: "/biService/myDataAsset",
  14. Handler: MyDataAssetHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/biService/addProject",
  19. Handler: AddProjectReqHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/biService/getInfoId",
  24. Handler: GetInfoIdHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/biService/drawClue",
  29. Handler: DrawClueHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/biService/call",
  34. Handler: CallHandler(serverCtx),
  35. },
  36. },
  37. )
  38. }