From ba50073d4aeda7a1e30243e6469be9c2cec472b3 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期六, 08 十月 2022 18:17:25 +0800 Subject: [PATCH] 修改检索显示的摄像机地址,调整上报页面的查询 --- src/api/search.ts | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/api/search.ts b/src/api/search.ts index 74c4dee..618cf75 100644 --- a/src/api/search.ts +++ b/src/api/search.ts @@ -62,4 +62,21 @@ method: "post", data: query }); -}; \ No newline at end of file +}; + +// 鑾峰彇閰嶇疆 +export const config = () => { + return request({ + url: "/saas/api-s/es/config", + method: "get", + }); +}; + +// 淇濆瓨閰嶇疆 +export const saveEsConfig = (query: any) => { + return request({ + url: " /saas/api-s/es/saveEsConfig", + method: "post", + data: query + }); +}; -- Gitblit v1.8.0