diff --git a/src/api/agentManage/callback.ts b/src/api/agentManage/callback.ts index 38cb7af9..3cd8d2e3 100644 --- a/src/api/agentManage/callback.ts +++ b/src/api/agentManage/callback.ts @@ -2,7 +2,7 @@ import { request } from '@/plugins/http-fetch'; /** - * 查询定时任务调度列表 + * 查询工单列表 * @param query 查询参数 * @returns object */ @@ -14,3 +14,14 @@ export function listCallBack(query: Record) { }); } +/** + * 切换进行中状态 + * @param + * @returns bolb + */ +export function updateStatus(data: Record) { + return request({ + url: `psap/v1/mf/ticket/${data.ticketId}/status`, + method: 'PATCH', + }); +}