fix: 关闭网元reload操作,只有amf smf upf udm四个网元支持,改用mml发送
This commit is contained in:
16
src/api/tool/mml.ts
Normal file
16
src/api/tool/mml.ts
Normal 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,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user