方法列表
创建工单
user
RPC
createUserTicket (CreateUserTicketRequest) returns (CreateUserTicketResponse)
HTTP
POST /UserTicketService/createUserTicket
输入对象:CreateUserTicketRequest:
输出对象:CreateUserTicketResponse:
修改工单
user
RPC
updateUserTicket (UpdateUserTicketRequest) returns (RPCSuccess)
HTTP
POST /UserTicketService/updateUserTicket
输入对象:UpdateUserTicketRequest:
输出对象:RPCSuccess:
{ }
删除工单
user
RPC
deleteUserTicket (DeleteUserTicketRequest) returns (RPCSuccess)
HTTP
POST /UserTicketService/deleteUserTicket
输入对象:DeleteUserTicketRequest:
输出对象:RPCSuccess:
{ }
计算工单数量
admin
user
RPC
countUserTickets (CountUserTicketsRequest) returns (RPCCountResponse)
HTTP
POST /UserTicketService/countUserTickets
输入对象:CountUserTicketsRequest:
输出对象:RPCCountResponse:
{ // 数量 int64 count; }
列出单页工单
admin
user
RPC
listUserTickets (ListUserTicketsRequest) returns (ListUserTicketsResponse)
HTTP
POST /UserTicketService/listUserTickets
输入对象:ListUserTicketsRequest:
{ // 用户ID int64 userId; int64 userTicketCategoryId; string status; // 读取位置 int64 offset; // 数量,通常不能小于0 int64 size; }
输出对象:ListUserTicketsResponse:
查找单个工单
admin
user
RPC
findUserTicket (FindUserTicketRequest) returns (FindUserTicketResponse)
HTTP
POST /UserTicketService/findUserTicket
输入对象:FindUserTicketRequest:
输出对象:FindUserTicketResponse: