From 4dacd672b7fb3fba5c078ae54a3191cee7154893 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Thu, 7 Aug 2025 20:01:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9shell=E8=BF=90=E8=A1=8C?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/shellService.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/shellService.go b/service/shellService.go index eb76c45..407a718 100644 --- a/service/shellService.go +++ b/service/shellService.go @@ -85,7 +85,7 @@ func ShellWillRunFromServer() { if err2 != "" { resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 3, ShellResult: err2, ShellRuntime: shellRuntime}) //执行出错 } else { - resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 2, ShellResult: res}) //执行成功 + resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 2, ShellResult: res, ShellRuntime: shellRuntime}) //执行成功 } } if len(resp) == 0 {