rescheduleTicket

package
v0.0.0-...-01c5a3f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiGroup

type ApiGroup struct {
	OrderApi
}

type OrderApi

type OrderApi struct{}

func (*OrderApi) CreateOrder

func (a *OrderApi) CreateOrder(c *gin.Context)

@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

func (a *OrderApi) GetAllOrders(c *gin.Context)

@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

func (a *OrderApi) GetOrder(c *gin.Context)

@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

func (a *OrderApi) GetOrders(c *gin.Context)

@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

func (a *OrderApi) UpdateOrder(c *gin.Context)

@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]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL