fix: 关闭网元reload操作,只有amf smf upf udm四个网元支持,改用mml发送

This commit is contained in:
TsMask
2025-08-05 11:23:55 +08:00
parent 37691e5349
commit b16a91ca74
4 changed files with 18 additions and 42 deletions

16
src/api/tool/mml.ts Normal file
View File

@@ -0,0 +1,16 @@
import { request } from '@/plugins/http-fetch';
// 更新网元配置重新载入
export function updateNeConfigReload(neType: string, neId: string) {
return request({
url: '/tool/mml/command',
method: 'POST',
data: {
neType: neType,
neId: neId,
type: 'General',
command: ['reload'],
},
timeout: 180_000,
});
}