routes.go 817 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "bp.jydev.jianyu360.cn/ApplicationCenter/threeMarket/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: "/tripartite/comment/add",
  14. Handler: assessAddHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/tripartite/assess/list",
  19. Handler: assessListHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/tripartite/service/buy",
  24. Handler: buyServiceHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/tripartite/confirm/receipt",
  29. Handler: confirmReceiptHandler(serverCtx),
  30. },
  31. },
  32. )
  33. }