feat: 合并Gin_Vue
This commit is contained in:
@@ -9,7 +9,7 @@ import { parseObjLineToHump } from '@/utils/parse-utils';
|
||||
export async function getMMLByOMC() {
|
||||
// 发起请求
|
||||
const result = await request({
|
||||
url: `/databaseManagement/v1/elementType/omc_db/objectType/mml_command`,
|
||||
url: `/api/rest/databaseManagement/v1/elementType/omc_db/objectType/mml_command`,
|
||||
method: 'get',
|
||||
params: {
|
||||
SQL: `select * from mml_command where ne_type = 'OMC'`,
|
||||
@@ -34,7 +34,7 @@ export async function getMMLByOMC() {
|
||||
export async function sendMMlByOMC(neId: string, cmdStr: string) {
|
||||
// 发起请求
|
||||
const result = await request({
|
||||
url: `/operationManagement/v1/elementType/OMC/objectType/mml?ne_id=${neId}`,
|
||||
url: `/api/rest/operationManagement/v1/elementType/OMC/objectType/mml?ne_id=${neId}`,
|
||||
method: 'post',
|
||||
data: { mml: [cmdStr] },
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user