feat: 信令分析
This commit is contained in:
@@ -54,21 +54,15 @@ export async function listTraceData(query: Record<string, any>) {
|
||||
return result;
|
||||
}
|
||||
|
||||
// 网元抓包pcap文件下载
|
||||
export function tcpdumpPcapDownload(data: Record<string, string>) {
|
||||
/**
|
||||
* 信令数据解析HTML
|
||||
* @param id 任务ID
|
||||
* @returns
|
||||
*/
|
||||
export function getTraceRawInfo(id: Record<string, string>) {
|
||||
return request({
|
||||
url: '/traceManagement/v1/tcpdumpPcapDownload',
|
||||
method: 'post',
|
||||
data: data,
|
||||
responseType: 'blob',
|
||||
});
|
||||
}
|
||||
|
||||
// 网元抓包生成pcap
|
||||
export function tcpdumpNeUPFTask(data: Record<string, string>) {
|
||||
return request({
|
||||
url: '/traceManagement/v1/tcpdumpNeUPFTask',
|
||||
method: 'post',
|
||||
data: data,
|
||||
url: `/traceManagement/v1/decMessage/${id}`,
|
||||
method: 'get',
|
||||
responseType: 'text',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user