Documentation ¶
Index ¶
- type OrderService
- func (s *OrderService) CancelOrder(request request.IdRequest, c *gin.Context) (err error)
- func (s *OrderService) CheckOrder(request request.IdRequest, c *gin.Context) (err error)
- func (s *OrderService) ConfirmOrder(request ordinaryTicket.ConfirmOrderRequest, c *gin.Context) (response response.Response, err error)
- func (s *OrderService) CreateOrder(request ordinaryTicket.Order) (result ordinaryTicket.Order, err error)
- func (s *OrderService) DeleteOrders(request request.IdsRequest) (err error)
- func (s *OrderService) GetAllOrders(request ordinaryTicket.OrderRequest) (result []*ordinaryTicket.Order, err error)
- func (s *OrderService) GetOrder(request request.IdRequest) (result ordinaryTicket.Order, err error)
- func (s *OrderService) GetOrders(request ordinaryTicket.OrderRequest) (result []*ordinaryTicket.Order, total int64, err error)
- func (s *OrderService) LaterOrder(request request.IdRequest, c *gin.Context) (err error)
- func (s *OrderService) MatchSerialNum(request ordinaryTicket.MatchSerialNumRequest, c *gin.Context) (response response.Response, err error)
- func (s *OrderService) RefuseOrder(request ordinaryTicket.RefuseOrderRequest, c *gin.Context) (response response.Response, err error)
- func (s *OrderService) UpdateOrder(request ordinaryTicket.Order) (result ordinaryTicket.Order, err error)
- type ServiceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderService ¶
type OrderService struct{}
func (*OrderService) CancelOrder ¶
撤销订单
func (*OrderService) CheckOrder ¶
func (*OrderService) ConfirmOrder ¶
func (s *OrderService) ConfirmOrder(request ordinaryTicket.ConfirmOrderRequest, c *gin.Context) (response response.Response, err error)
确认订单
func (*OrderService) CreateOrder ¶
func (s *OrderService) CreateOrder(request ordinaryTicket.Order) (result ordinaryTicket.Order, err error)
func (*OrderService) DeleteOrders ¶
func (s *OrderService) DeleteOrders(request request.IdsRequest) (err error)
func (*OrderService) GetAllOrders ¶
func (s *OrderService) GetAllOrders(request ordinaryTicket.OrderRequest) (result []*ordinaryTicket.Order, err error)
func (*OrderService) GetOrder ¶
func (s *OrderService) GetOrder(request request.IdRequest) (result ordinaryTicket.Order, err error)
func (*OrderService) GetOrders ¶
func (s *OrderService) GetOrders(request ordinaryTicket.OrderRequest) (result []*ordinaryTicket.Order, total int64, err error)
func (*OrderService) LaterOrder ¶
延时订单
func (*OrderService) MatchSerialNum ¶
func (s *OrderService) MatchSerialNum(request ordinaryTicket.MatchSerialNumRequest, c *gin.Context) (response response.Response, err error)
匹配流水
func (*OrderService) RefuseOrder ¶
func (s *OrderService) RefuseOrder(request ordinaryTicket.RefuseOrderRequest, c *gin.Context) (response response.Response, err error)
拒绝订单
func (*OrderService) UpdateOrder ¶
func (s *OrderService) UpdateOrder(request ordinaryTicket.Order) (result ordinaryTicket.Order, err error)
type ServiceGroup ¶
type ServiceGroup struct {
OrderService
}
Click to show internal directories.
Click to hide internal directories.