Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderApi ¶
type OrderApi struct{}
func (*OrderApi) CreateOrder ¶
@Tags RescheduleTicket改签票 @Summary 新增订单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body rescheduleTicket.Order true "请求" @Success 200 {object} response.Response{data=rescheduleTicket.Order} "响应" @Router /rescheduleTicket/createRescheduleTicket [post]
func (*OrderApi) GetAllOrders ¶
@Tags RescheduleTicket改签票 @Summary 查询全部订单列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query rescheduleTicket.OrderRequest true "请求" @Success 200 {object} response.Response{data[]rescheduleTicket.Order} "响应" @Router /rescheduleTicket/getAllRescheduleTickets [get]
func (*OrderApi) GetOrder ¶
@Tags RescheduleTicket改签票 @Summary 查询订单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=rescheduleTicket.Order} "响应" @Router /rescheduleTicket/getRescheduleTicket [get]
func (*OrderApi) GetOrders ¶
@Tags RescheduleTicket改签票 @Summary 查询订单列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query rescheduleTicket.OrderRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]rescheduleTicket.Order}} "响应" @Router /rescheduleTicket/getRescheduleTickets [get]
func (*OrderApi) UpdateOrder ¶
@Tags RescheduleTicket改签票 @Summary 修改订单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body rescheduleTicket.Order true "请求" @Success 200 {object} response.Response{data=rescheduleTicket.Order} "响应" @Router /rescheduleTicket/updateRescheduleTicket [put]