From 93a26507f76156fa65aead1515c430688c089e1d Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期一, 22 二月 2021 15:49:01 +0800 Subject: [PATCH] 新版目录树样式调试及状态更新调试;朔黄批量导入列表调试;视频检索页面添加处理参数,添加标注接口添加参数;分页器展示优化,默认检索时间调整;转储设备接口调试 --- src/api/clusterManage.ts | 29 ++++++++++++++++++++++++++++- 1 files changed, 28 insertions(+), 1 deletions(-) diff --git a/src/api/clusterManage.ts b/src/api/clusterManage.ts index bbeb747..690d640 100644 --- a/src/api/clusterManage.ts +++ b/src/api/clusterManage.ts @@ -11,7 +11,7 @@ }; // 鍒涘缓闆嗙兢 -export const createColony = (query: any) => { +export const createSerfCluster = (query: any) => { return request({ url: "/data/api-v/cluster/create", method: "post", @@ -100,4 +100,31 @@ method: "post", data }) +} + +// 鍒涘缓ES闆嗙兢 +export const createESNode = (data: any) => { + return request({ + url: "/data/api-v/es/createNode", + method: "post", + data + }) +} + +// 鍔犲叆ES闆嗙兢 +export const addESNode = (data: any) => { + return request({ + url: "/data/api-v/es/addCluster", + method: "post", + data + }) +} + +// 鑾峰彇ES闆嗙兢淇℃伅 +export const getEsClusterInfo = (data: any) => { + return request({ + url: "/data/api-v/es/getEsClusterInfo", + method: "post", + data + }) } \ No newline at end of file -- Gitblit v1.8.0