Help us shape the future of Go! Take the 2026 Go Developer Survey

ticket

package
v1.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

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