From a0b28779aa0322e311f4f78a3054c3760c2e3b1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=AD=90=E9=BE=99?= Date: Fri, 7 Jul 2023 11:00:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=E8=BF=90=E7=BB=B4?= =?UTF-8?q?=20=E7=AB=8B=E5=8D=B3=E6=89=A7=E8=A1=8C=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controller/task_manage.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controller/task_manage.go b/src/controller/task_manage.go index 2dfda13..ad37a4b 100644 --- a/src/controller/task_manage.go +++ b/src/controller/task_manage.go @@ -125,10 +125,10 @@ func ExecScript(c *gin.Context) { } taskManageSvc := service.TaskManageSvc{} - data, err := taskManageSvc.ExecScript(req) + err := taskManageSvc.ExecScript(req) if err != nil { SendJsonResponse(c, err, nil) return } - SendJsonResponse(c, nil, data) + SendJsonResponse(c, nil, nil) } -- 2.26.0