From 11f54c7b2e9d511c1106b93b90f6d1ad837efa6a Mon Sep 17 00:00:00 2001 From: jasminexz <491548320@qq.com> Date: Tue, 15 Aug 2023 15:53:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=80=E5=8C=96=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blossom-editor/src/renderer/src/api/sentinel.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/blossom-editor/src/renderer/src/api/sentinel.ts b/blossom-editor/src/renderer/src/api/sentinel.ts index b81bb30..3e007ea 100644 --- a/blossom-editor/src/renderer/src/api/sentinel.ts +++ b/blossom-editor/src/renderer/src/api/sentinel.ts @@ -1,23 +1,6 @@ import { defaultRequest as rq } from "./request"; import type { R } from "./request"; -/** - * 应用集群流量详情 - */ -export const metricByAppApi = (params?: object): Promise> => { - // return rq.get>("${BSMS_URL}/sentinel/es/metric/app", params); - return rq.get>("${GATEWAY_URL}/${SERVICE_ID}/sentinel/metric/app", { params }); -}; - -/** - * 资源列表 - */ -export const resourcesApi = (params?: object): Promise> => { - // return rq.get>("${BSMS_URL}/sentinel/es/resources", params); - return rq.get>("${GATEWAY_URL}/${SERVICE_ID}/sentinel/resources", { params }); -}; - - /** * 流量直方图 */