routes.go 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "app.yhyue.com/moapp/jyResourcesCenter/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: "/customExport/account",
  14. Handler: ExportChargeAccountHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/customExport/charge",
  19. Handler: ExportChargeHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/resources/entAccountAdd",
  24. Handler: EntAccountAddHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/resources/entAccountGiven",
  29. Handler: EntAccountGivenHandler(serverCtx),
  30. },
  31. {
  32. Method: http.MethodPost,
  33. Path: "/resources/entAccountRecovery",
  34. Handler: EntAccountRecoveryHandler(serverCtx),
  35. },
  36. {
  37. Method: http.MethodPost,
  38. Path: "/resources/entSourceNumAdd",
  39. Handler: EntSourceNumAddHandler(serverCtx),
  40. },
  41. {
  42. Method: http.MethodPost,
  43. Path: "/resources/findAuth",
  44. Handler: FindAuthHandler(serverCtx),
  45. },
  46. {
  47. Method: http.MethodPost,
  48. Path: "/resources/findBalance",
  49. Handler: FindBalanceHandler(serverCtx),
  50. },
  51. {
  52. Method: http.MethodPost,
  53. Path: "/resources/findPreview",
  54. Handler: FindPreviewHandler(serverCtx),
  55. },
  56. {
  57. Method: http.MethodPost,
  58. Path: "/resources/findRecord",
  59. Handler: FindRecordHandler(serverCtx),
  60. },
  61. {
  62. Method: http.MethodPost,
  63. Path: "/resources/purchaseUserBalance",
  64. Handler: PurchaseUserBalanceHandler(serverCtx),
  65. },
  66. {
  67. Method: http.MethodPost,
  68. Path: "/resources/updateVipTime",
  69. Handler: UpdateVipTimeHandler(serverCtx),
  70. },
  71. {
  72. Method: http.MethodPost,
  73. Path: "/resources/useUserDetailed",
  74. Handler: UseUserDetailedHandler(serverCtx),
  75. },
  76. {
  77. Method: http.MethodPost,
  78. Path: "/resources/userMerge",
  79. Handler: UserMergeHandler(serverCtx),
  80. },
  81. },
  82. )
  83. }