routes.go 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "bp.jydev.jianyu360.cn/CRM/application/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: "/crmApplication/clue/add",
  14. Handler: clueAddHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/crmApplication/saleChance/add",
  19. Handler: saleChanceAddHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/crmApplication/employ/operate",
  24. Handler: employOperateHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/crmApplication/information/transfer",
  29. Handler: transferHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/crmApplication/ignore/operate",
  34. Handler: ignoreOperateHandler(serverCtx),
  35. },
  36. {
  37. Method: http.MethodPost,
  38. Path: "/crmApplication/employ/info",
  39. Handler: employInfoHandler(serverCtx),
  40. },
  41. {
  42. Method: http.MethodPost,
  43. Path: "/crmApplication/custom/add",
  44. Handler: customAddHandler(serverCtx),
  45. },
  46. {
  47. Method: http.MethodPost,
  48. Path: "/crmApplication/file/upload",
  49. Handler: fileUploadHandler(serverCtx),
  50. },
  51. {
  52. Method: http.MethodPost,
  53. Path: "/crmApplication/employ/distribute",
  54. Handler: employDistributeHandler(serverCtx),
  55. },
  56. {
  57. Method: http.MethodPost,
  58. Path: "/crmApplication/ent/info",
  59. Handler: entinfoHandler(serverCtx),
  60. },
  61. {
  62. Method: http.MethodPost,
  63. Path: "/crmApplication/info/push",
  64. Handler: pushMsgHandler(serverCtx),
  65. },
  66. {
  67. Method: http.MethodPost,
  68. Path: "/crmApplication/info/canAdd",
  69. Handler: canAddReqHandler(serverCtx),
  70. },
  71. },
  72. rest.WithMaxBytes(104857600),
  73. )
  74. }