From 8b0213b2947fda7afcbad9de89e34846af056d16 Mon Sep 17 00:00:00 2001 From: Gzx1999 Date: Thu, 30 Nov 2023 15:50:46 +0800 Subject: [PATCH] add start service 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 d4f313d..bc02379 100644 --- a/frontend/src/request/cluster.ts +++ b/frontend/src/request/cluster.ts @@ -79,4 +79,13 @@ export function stopService(data: any) { method: 'post', data }) +} + +// 开启一项服务 +export function startService(data: any) { + return request({ + url: 'agent/service_start', + method: 'post', + data + }) } \ No newline at end of file -- Gitee