routes.go 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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. // 新增受理单
  18. Method: http.MethodPost,
  19. Path: "/biService/addAcceptance",
  20. Handler: addAcceptanceHandler(serverCtx),
  21. },
  22. {
  23. Method: http.MethodPost,
  24. Path: "/biService/addProject",
  25. Handler: AddProjectReqHandler(serverCtx),
  26. },
  27. {
  28. // 资讯全量导出
  29. Method: http.MethodPost,
  30. Path: "/biService/allInfoExport",
  31. Handler: allInfoExportHandler(serverCtx),
  32. },
  33. {
  34. // 项目全量导出
  35. Method: http.MethodPost,
  36. Path: "/biService/allProjectExport",
  37. Handler: allProjectExportHandler(serverCtx),
  38. },
  39. {
  40. Method: http.MethodPost,
  41. Path: "/biService/autoFollow",
  42. Handler: AutoFollowHandler(serverCtx),
  43. },
  44. {
  45. Method: http.MethodPost,
  46. Path: "/biService/call",
  47. Handler: CallHandler(serverCtx),
  48. },
  49. {
  50. Method: http.MethodPost,
  51. Path: "/biService/clueImport",
  52. Handler: ClueImportHandler(serverCtx),
  53. },
  54. {
  55. Method: http.MethodPost,
  56. Path: "/biService/clueImportTt",
  57. Handler: ClueImportTlHandler(serverCtx),
  58. },
  59. {
  60. // 创建线索
  61. Method: http.MethodPost,
  62. Path: "/biService/createClueByPhone",
  63. Handler: createClueHandler(serverCtx),
  64. },
  65. {
  66. Method: http.MethodPost,
  67. Path: "/biService/distributeClue",
  68. Handler: DistributeClueHandler(serverCtx),
  69. },
  70. {
  71. Method: http.MethodPost,
  72. Path: "/biService/distributeClueShow",
  73. Handler: DistributeClueShowHandler(serverCtx),
  74. },
  75. {
  76. Method: http.MethodPost,
  77. Path: "/biService/drawClue",
  78. Handler: DrawClueHandler(serverCtx),
  79. },
  80. {
  81. // 线索查询
  82. Method: http.MethodPost,
  83. Path: "/biService/findClueInfo",
  84. Handler: findClueInfoHandler(serverCtx),
  85. },
  86. {
  87. // 线索验重 列表
  88. Method: http.MethodPost,
  89. Path: "/biService/getClueInfoList",
  90. Handler: getClueInfoListHandler(serverCtx),
  91. },
  92. {
  93. // 公司类型
  94. Method: http.MethodPost,
  95. Path: "/biService/getCompanyType",
  96. Handler: getCompanyTypeHandler(serverCtx),
  97. },
  98. {
  99. Method: http.MethodPost,
  100. Path: "/biService/getInfoId",
  101. Handler: GetInfoIdHandler(serverCtx),
  102. },
  103. {
  104. // 资讯操作
  105. Method: http.MethodPost,
  106. Path: "/biService/infoOperate",
  107. Handler: infoOperateHandler(serverCtx),
  108. },
  109. {
  110. Method: http.MethodPost,
  111. Path: "/biService/myDataAsset",
  112. Handler: MyDataAssetHandler(serverCtx),
  113. },
  114. {
  115. // 用户身份
  116. Method: http.MethodPost,
  117. Path: "/biService/myInfo",
  118. Handler: MyinfoHandler(serverCtx),
  119. },
  120. {
  121. // 资源中台授权
  122. Method: http.MethodPost,
  123. Path: "/biService/resEmpower",
  124. Handler: ResEmpowerHandler(serverCtx),
  125. },
  126. {
  127. // 发送邮件
  128. Method: http.MethodPost,
  129. Path: "/biService/sendCommonndMail",
  130. Handler: sendComMailHandler(serverCtx),
  131. },
  132. {
  133. // 数据导出(通用),发邮件
  134. Method: http.MethodPost,
  135. Path: "/biService/sendMail",
  136. Handler: sendMailHandler(serverCtx),
  137. },
  138. {
  139. // bi通用接口
  140. Method: http.MethodPost,
  141. Path: "/biService/sqlManage",
  142. Handler: sqlManageHandler(serverCtx),
  143. },
  144. {
  145. // 客成线索移交
  146. Method: http.MethodPost,
  147. Path: "/biService/transferClueByPhone",
  148. Handler: transferClueSuccHandler(serverCtx),
  149. },
  150. {
  151. // 附件上传
  152. Method: http.MethodPost,
  153. Path: "/biService/upFile",
  154. Handler: upFileHandler(serverCtx),
  155. },
  156. {
  157. Method: http.MethodPost,
  158. Path: "/biService/getClueInfoList",
  159. Handler: getClueInfoListHandler(serverCtx),
  160. },
  161. },
  162. rest.WithMaxBytes(104857600),
  163. )
  164. }