v1

package
v2.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignReq

type AssignReq struct {
	g.Meta `path:"/assign" method:"post" auth:"true" role:"admin" tags:"ticket" summary:"分配工单接口"`
	model.TicketAssignReq
}

分配工单接口请求参数

type AssignRes

type AssignRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

分配工单接口响应参数

type BatchDeleteReq

type BatchDeleteReq struct {
	g.Meta `path:"/batch/delete" method:"post" auth:"true" role:"admin" tags:"ticket" summary:"批量删除工单接口"`
	model.TicketBatchDeleteReq
}

批量删除工单接口请求参数

type BatchDeleteRes

type BatchDeleteRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

批量删除工单接口响应参数

type CloseReq

type CloseReq struct {
	g.Meta `path:"/close" method:"post" auth:"true" role:"user,reseller,admin" tags:"ticket" summary:"关闭工单接口"`
	model.TicketCloseReq
}

关闭工单接口请求参数

type CloseRes

type CloseRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

关闭工单接口响应参数

type CreateReq

type CreateReq struct {
	g.Meta `path:"/create" method:"post" auth:"true" role:"user,reseller" tags:"ticket" summary:"创建工单接口"`
	model.TicketCreateReq
}

创建工单接口请求参数

type CreateRes

type CreateRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

创建工单接口响应参数

type DetailReq

type DetailReq struct {
	g.Meta `path:"/detail" method:"get" auth:"true" role:"user,reseller,admin" tags:"ticket" summary:"工单详情接口"`
	Id     string `json:"id"`
}

工单详情接口请求参数

type DetailRes

type DetailRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.TicketDetailRes
}

工单详情接口响应参数

type PageReq

type PageReq struct {
	g.Meta `path:"/page" method:"post" auth:"true" role:"user,reseller,admin" tags:"ticket" summary:"工单分页列表接口"`
	model.TicketPageReq
}

工单分页列表接口请求参数

type PageRes

type PageRes struct {
	g.Meta `mime:"application/json" example:"json"`
	*model.TicketPageRes
}

工单分页列表接口响应参数

type ReplyReq

type ReplyReq struct {
	g.Meta `path:"/reply" method:"post" auth:"true" role:"user,reseller,admin" tags:"ticket" summary:"回复工单接口"`
	model.TicketReplyReq
}

回复工单接口请求参数

type ReplyRes

type ReplyRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

回复工单接口响应参数

type UpdateStatusReq

type UpdateStatusReq struct {
	g.Meta `path:"/status/update" method:"post" auth:"true" role:"user,reseller,admin" tags:"ticket" summary:"更新工单状态接口"`
	model.TicketUpdateStatusReq
}

更新工单状态接口请求参数 状态: 1-待回复, 2-待处理, 3-处理中, 4-已回复, 5-已解决, 6-已关闭

type UpdateStatusRes

type UpdateStatusRes struct {
	g.Meta `mime:"application/json" example:"json"`
}

更新工单状态接口响应参数

Jump to

Keyboard shortcuts

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