routes.go 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "bp.jydev.jianyu360.cn/CRM/networkManage/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. // 情报详情
  13. Method: http.MethodPost,
  14. Path: "/networkManage/infomation/detail",
  15. Handler: infoDetailHandler(serverCtx),
  16. },
  17. {
  18. // 人脉库-添加/修改人脉
  19. Method: http.MethodPost,
  20. Path: "/networkManage/network/addOrUpdate",
  21. Handler: addOrUpdateHandler(serverCtx),
  22. },
  23. {
  24. // 人脉库-全部人脉项目
  25. Method: http.MethodPost,
  26. Path: "/networkManage/network/allProject",
  27. Handler: allProjectHandler(serverCtx),
  28. },
  29. {
  30. // 人脉库-业主名称联想
  31. Method: http.MethodPost,
  32. Path: "/networkManage/network/associate",
  33. Handler: associateHandler(serverCtx),
  34. },
  35. {
  36. // 人脉库-列表
  37. Method: http.MethodPost,
  38. Path: "/networkManage/network/networkList",
  39. Handler: networkListHandler(serverCtx),
  40. },
  41. {
  42. // 人脉可达商机列表
  43. Method: http.MethodPost,
  44. Path: "/networkManage/network/project/list",
  45. Handler: projectListHandler(serverCtx),
  46. },
  47. {
  48. // 可介绍业主合作次数
  49. Method: http.MethodPost,
  50. Path: "/networkManage/owner/cooperate",
  51. Handler: ownerCooperateHandler(serverCtx),
  52. },
  53. {
  54. // 人脉可达潜客业主列表
  55. Method: http.MethodPost,
  56. Path: "/networkManage/owner/list",
  57. Handler: ownerListHandler(serverCtx),
  58. },
  59. {
  60. // 可介绍业主路径
  61. Method: http.MethodPost,
  62. Path: "/networkManage/owner/route",
  63. Handler: ownerRouteHandler(serverCtx),
  64. },
  65. {
  66. // 公关渠道-标讯收藏项目找人脉
  67. Method: http.MethodPost,
  68. Path: "/networkManage/pr/collect/list",
  69. Handler: PrCollectListHandler(serverCtx),
  70. },
  71. {
  72. // 公关渠道-业主监控项目找人脉
  73. Method: http.MethodPost,
  74. Path: "/networkManage/pr/monitor/list",
  75. Handler: PrMonitorListHandler(serverCtx),
  76. },
  77. {
  78. // 项目公关渠道分析-项目名称联想
  79. Method: http.MethodPost,
  80. Path: "/networkManage/pr/pname/ass",
  81. Handler: PrPnameAssHandler(serverCtx),
  82. },
  83. {
  84. // 项目公关渠道分析-与业主合作历史
  85. Method: http.MethodPost,
  86. Path: "/networkManage/pr/project/analyse",
  87. Handler: CoopHistoryListHandler(serverCtx),
  88. },
  89. {
  90. // 人脉项目分析-业主合作历史
  91. Method: http.MethodPost,
  92. Path: "/networkManage/pr/project/history",
  93. Handler: projectHistoryHandler(serverCtx),
  94. },
  95. },
  96. )
  97. }