From b1776f66a067b59a31aa60f9ea69811e6fa5a809 Mon Sep 17 00:00:00 2001 From: lai <10633968+laiyujun1@user.noreply.gitee.com> Date: Fri, 18 Jul 2025 15:03:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/agentManage/callback.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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', + }); +}