From f3c1ee923ae40cbd48a7a019102a56a268bdee26 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Thu, 7 Aug 2025 20:28:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E5=BF=97=E8=BE=93?= =?UTF-8?q?=E5=87=BA?= 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 407a718..5bf9bda 100644 --- a/service/shellService.go +++ b/service/shellService.go @@ -83,7 +83,7 @@ func ShellWillRunFromServer() { //执行时间,转成秒 shellRuntime := time.Since(start).Seconds() if err2 != "" { - resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 3, ShellResult: err2, ShellRuntime: shellRuntime}) //执行出错 + resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 3, ShellResult: "err:" + err2 + "\nresult:" + res, ShellRuntime: shellRuntime}) //执行出错 } else { resp = append(resp, proto.UpdateShellReq{ID: v.ID, Server: v.Server, Status: 2, ShellResult: res, ShellRuntime: shellRuntime}) //执行成功 }