routes.go 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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/addAcceptance",
  19. Handler: addAcceptanceHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/biService/addProject",
  24. Handler: AddProjectReqHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/biService/allInfoExport",
  29. Handler: allInfoExportHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/biService/allProjectExport",
  34. Handler: allProjectExportHandler(serverCtx),
  35. },
  36. {
  37. Method: http.MethodPost,
  38. Path: "/biService/autoFollow",
  39. Handler: AutoFollowHandler(serverCtx),
  40. },
  41. {
  42. Method: http.MethodPost,
  43. Path: "/biService/call",
  44. Handler: CallHandler(serverCtx),
  45. },
  46. {
  47. Method: http.MethodPost,
  48. Path: "/biService/clueImport",
  49. Handler: ClueImportHandler(serverCtx),
  50. },
  51. {
  52. Method: http.MethodPost,
  53. Path: "/biService/clueImportTt",
  54. Handler: ClueImportTlHandler(serverCtx),
  55. },
  56. {
  57. Method: http.MethodPost,
  58. Path: "/biService/createClueByPhone",
  59. Handler: createClueHandler(serverCtx),
  60. },
  61. {
  62. Method: http.MethodPost,
  63. Path: "/biService/distributeClue",
  64. Handler: DistributeClueHandler(serverCtx),
  65. },
  66. {
  67. Method: http.MethodPost,
  68. Path: "/biService/distributeClueShow",
  69. Handler: DistributeClueShowHandler(serverCtx),
  70. },
  71. {
  72. Method: http.MethodPost,
  73. Path: "/biService/drawClue",
  74. Handler: DrawClueHandler(serverCtx),
  75. },
  76. {
  77. Method: http.MethodPost,
  78. Path: "/biService/getCompanyType",
  79. Handler: getCompanyTypeHandler(serverCtx),
  80. },
  81. {
  82. Method: http.MethodPost,
  83. Path: "/biService/getInfoId",
  84. Handler: GetInfoIdHandler(serverCtx),
  85. },
  86. {
  87. Method: http.MethodPost,
  88. Path: "/biService/infoOperate",
  89. Handler: infoOperateHandler(serverCtx),
  90. },
  91. {
  92. Method: http.MethodPost,
  93. Path: "/biService/myDataAsset",
  94. Handler: MyDataAssetHandler(serverCtx),
  95. },
  96. {
  97. Method: http.MethodPost,
  98. Path: "/biService/myInfo",
  99. Handler: MyinfoHandler(serverCtx),
  100. },
  101. {
  102. Method: http.MethodPost,
  103. Path: "/biService/resEmpower",
  104. Handler: ResEmpowerHandler(serverCtx),
  105. },
  106. {
  107. Method: http.MethodPost,
  108. Path: "/biService/sendCommonndMail",
  109. Handler: sendComMailHandler(serverCtx),
  110. },
  111. {
  112. Method: http.MethodPost,
  113. Path: "/biService/sendMail",
  114. Handler: sendMailHandler(serverCtx),
  115. },
  116. {
  117. Method: http.MethodPost,
  118. Path: "/biService/sqlManage",
  119. Handler: sqlManageHandler(serverCtx),
  120. },
  121. {
  122. Method: http.MethodPost,
  123. Path: "/biService/transferClueByPhone",
  124. Handler: transferClueSuccHandler(serverCtx),
  125. },
  126. {
  127. Method: http.MethodPost,
  128. Path: "/biService/upFile",
  129. Handler: upFileHandler(serverCtx),
  130. },
  131. },
  132. rest.WithMaxBytes(104857600),
  133. )
  134. }