perf: 重构信令跟踪功能

This commit is contained in:
TsMask
2025-04-18 15:38:57 +08:00
parent 83808a4f88
commit b92c871b3b
2 changed files with 512 additions and 228 deletions

View File

@@ -62,3 +62,18 @@ export function packetKeep(taskNo: string, duration: number = 120) {
data: { taskNo, duration },
});
}
/**
* 信令跟踪文件
* @param taskNo 对象
* @returns object
*/
export function packetPCAPFile(taskNo: string) {
return request({
url: '/trace/packet/filePull',
method: 'GET',
params: { taskNo },
responseType: 'blob',
timeout: 180_000,
});
}