Documentation
¶
Overview ¶
Package ticket holds the Hertz handlers of the admin ticket desk.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTicketFollowHandler ¶
func CreateTicketFollowHandler(service support.Service) app.HandlerFunc
CreateTicketFollowHandler documents Create ticket follow.
@Summary Create ticket follow @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.CreateTicketFollowRequest true "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean @Router /v1/admin/ticket/follow [post]
func GetTicketHandler ¶
func GetTicketHandler(service support.Service) app.HandlerFunc
GetTicketHandler documents Get ticket detail.
@Summary Get ticket detail @Tags admin @Accept json @Produce json @Security BearerAuth @Param request query dto.GetTicketRequest false "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean{data=dto.Ticket} @Router /v1/admin/ticket/detail [get]
func GetTicketListHandler ¶
func GetTicketListHandler(service support.Service) app.HandlerFunc
GetTicketListHandler documents Get ticket list.
@Summary Get ticket list @Tags admin @Accept json @Produce json @Security BearerAuth @Param request query dto.GetTicketListRequest false "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean{data=dto.GetTicketListResponse} @Router /v1/admin/ticket/list [get]
func UpdateTicketStatusHandler ¶
func UpdateTicketStatusHandler(service support.Service) app.HandlerFunc
UpdateTicketStatusHandler documents Update ticket status.
@Summary Update ticket status @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.UpdateTicketStatusRequest true "Request parameters" @Success 200 {object} httpx.ResponseSuccessBean @Router /v1/admin/ticket/ [put]
Types ¶
This section is empty.