routes.go 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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/ClueAdd",
  14. Handler: ClueAddHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/biService/addProject",
  19. Handler: AddProjectReqHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/biService/allInfoExport",
  24. Handler: allInfoExportHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/biService/allProjectExport",
  29. Handler: allProjectExportHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/biService/autoFollow",
  34. Handler: AutoFollowHandler(serverCtx),
  35. },
  36. {
  37. Method: http.MethodPost,
  38. Path: "/biService/call",
  39. Handler: CallHandler(serverCtx),
  40. },
  41. {
  42. Method: http.MethodPost,
  43. Path: "/biService/clueImport",
  44. Handler: ClueImportHandler(serverCtx),
  45. },
  46. {
  47. Method: http.MethodPost,
  48. Path: "/biService/clueImportTt",
  49. Handler: ClueImportTlHandler(serverCtx),
  50. },
  51. {
  52. Method: http.MethodPost,
  53. Path: "/biService/distributeClue",
  54. Handler: DistributeClueHandler(serverCtx),
  55. },
  56. {
  57. Method: http.MethodPost,
  58. Path: "/biService/drawClue",
  59. Handler: DrawClueHandler(serverCtx),
  60. },
  61. {
  62. Method: http.MethodPost,
  63. Path: "/biService/exportDataByDb",
  64. Handler: exportDataByDbHandler(serverCtx),
  65. },
  66. {
  67. Method: http.MethodPost,
  68. Path: "/biService/getInfoId",
  69. Handler: GetInfoIdHandler(serverCtx),
  70. },
  71. {
  72. Method: http.MethodPost,
  73. Path: "/biService/infoOperate",
  74. Handler: infoOperateHandler(serverCtx),
  75. },
  76. {
  77. Method: http.MethodPost,
  78. Path: "/biService/myDataAsset",
  79. Handler: MyDataAssetHandler(serverCtx),
  80. },
  81. {
  82. Method: http.MethodPost,
  83. Path: "/biService/myInfo",
  84. Handler: MyinfoHandler(serverCtx),
  85. },
  86. {
  87. Method: http.MethodPost,
  88. Path: "/biService/resEmpower",
  89. Handler: ResEmpowerHandler(serverCtx),
  90. },
  91. {
  92. Method: http.MethodPost,
  93. Path: "/biService/sqlManage",
  94. Handler: sqlManageHandler(serverCtx),
  95. },
  96. },
  97. )
  98. }