From fe4ee92a37813da6a5ef53a2e5d41833620b6d61 Mon Sep 17 00:00:00 2001 From: Gzx1999 Date: Wed, 13 Dec 2023 10:54:56 +0800 Subject: [PATCH] add request machine tags api --- frontend/src/request/cluster.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend/src/request/cluster.ts b/frontend/src/request/cluster.ts index 7e91c65..a6ac815 100644 --- a/frontend/src/request/cluster.ts +++ b/frontend/src/request/cluster.ts @@ -160,4 +160,13 @@ export function installPackage(data: any) { method: 'post', data }) +} + +// 获取给定主机列表的tag标签 +export function getMachineTags(data:any) { + return request({ + url: 'macList/gettags', + method: 'post', + data + }) } \ No newline at end of file -- Gitee