feat: 跟踪任务查看pcap内容信息

This commit is contained in:
TsMask committed 2024-09-23 17:24:02 +08:00
1 parent 776e9c5837
commit f7273457e9
5 files changed
+346 -26

No files matched your search

+15
View File
@@ -65,6 +65,21 @@ export async function delTraceTask(ids: string) {
});
}
/**
* 跟踪任务文件
* @param query 对象
* @returns object
*/
export function filePullTask(traceId: string) {
return request({
url: '/trace/task/filePull',
method: 'get',
params: { traceId },
responseType: 'blob',
timeout: 60_000,
});
}
/**
* 获取网元跟踪接口列表
* @returns object