首页接口重构

This commit is contained in:
2026-04-17 09:56:18 +08:00
parent 50db270ffc
commit 1c0432262d

View File

@@ -117,7 +117,6 @@ public class DockerUtil {
.collect(Collectors.toList()); .collect(Collectors.toList());
} }
// ====================== 容器操作 ======================
public static DockerResult start(MySftpAccounts accounts, String containerId) { public static DockerResult start(MySftpAccounts accounts, String containerId) {
String res = runCommand(accounts, "docker start " + containerId); String res = runCommand(accounts, "docker start " + containerId);
return DockerResult.ok(res, Objects.nonNull(res) ? "启动容器成功" : "启动容器失败"); return DockerResult.ok(res, Objects.nonNull(res) ? "启动容器成功" : "启动容器失败");