fix: 接口变更/请求方法为大写

This commit is contained in:
TsMask
2025-02-20 10:42:34 +08:00
parent 8bfa73a67a
commit 7322759545
83 changed files with 568 additions and 1388 deletions

View File

@@ -11,7 +11,7 @@ import { NE_TYPE_LIST } from '@/constants/ne-constants';
export async function listMain() {
const result = await request({
url: '/api/rest/systemManagement/v1/elementType/all/objectType/systemState',
method: 'get',
method: 'GET',
timeout: 60_000,
});
// console.log(result);
@@ -69,7 +69,7 @@ export async function getServerTime() {
// 发起请求
const result = await request({
url: `/api/rest/systemManagement/v1/elementType/OMC/objectType/time`,
method: 'get',
method: 'GET',
});
// 解析数据
if (result.code === RESULT_CODE_SUCCESS && result.data) {
@@ -87,7 +87,7 @@ export async function getServerTime() {
export function getSysConf() {
return request({
url: `/sys-conf`,
method: 'get',
method: 'GET',
whithToken: false,
});
}