routes.go 867 B

12345678910111213141516171819202122232425262728293031323334353637
  1. // Code generated by goctl. DO NOT EDIT.
  2. package handler
  3. import (
  4. "net/http"
  5. "bp.jydev.jianyu360.cn/BaseService/orderApplication/api/internal/svc"
  6. "github.com/zeromicro/go-zero/rest"
  7. )
  8. func RegisterHandlers(engine *rest.Server, serverCtx *svc.ServiceContext) {
  9. engine.AddRoutes(
  10. []rest.Route{
  11. {
  12. Method: http.MethodPost,
  13. Path: "/orderApplication/order/orderList",
  14. Handler: OrderListHandler(serverCtx),
  15. },
  16. {
  17. Method: http.MethodPost,
  18. Path: "/orderApplication/order/orderInfo",
  19. Handler: OrderInfoHandler(serverCtx),
  20. },
  21. {
  22. Method: http.MethodPost,
  23. Path: "/orderApplication/order/orderStatusUpdate",
  24. Handler: OrderStatusUpdateHandler(serverCtx),
  25. },
  26. {
  27. Method: http.MethodPost,
  28. Path: "/orderApplication/order/OrderExamine",
  29. Handler: OrderExamineHandler(serverCtx),
  30. },
  31. },
  32. )
  33. }