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 ChildTicket儿童票 @Summary 新增订单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body childTicket.Order true "请求" @Success 200 {object} response.Response{data=childTicket.Order} "响应" @Router /childTicket/createChildTicket [post]
func (*OrderApi) GetAllOrders ¶
@Tags ChildTicket儿童票 @Summary 查询全部订单列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query childTicket.OrderRequest true "请求" @Success 200 {object} response.Response{data[]childTicket.Order} "响应" @Router /childTicket/getAllChildTickets [get]
func (*OrderApi) GetOrder ¶
@Tags ChildTicket儿童票 @Summary 查询订单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.IdRequest true "请求" @Success 200 {object} response.Response{data=childTicket.Order} "响应" @Router /childTicket/getChildTicket [get]
func (*OrderApi) GetOrders ¶
@Tags ChildTicket儿童票 @Summary 查询订单列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query childTicket.OrderRequest true "请求" @Success 200 {object} response.Response{data=response.ListData{list=[]childTicket.Order}} "响应" @Router /childTicket/getChildTickets [get]
func (*OrderApi) UpdateOrder ¶
@Tags ChildTicket儿童票 @Summary 修改订单 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body childTicket.Order true "请求" @Success 200 {object} response.Response{data=childTicket.Order} "响应" @Router /childTicket/updateChildTicket [put]