Commit a0b28779 authored by 陈子龙's avatar 陈子龙

自动化运维 立即执行 fix

parent 91dd310d
...@@ -125,10 +125,10 @@ func ExecScript(c *gin.Context) { ...@@ -125,10 +125,10 @@ func ExecScript(c *gin.Context) {
} }
taskManageSvc := service.TaskManageSvc{} taskManageSvc := service.TaskManageSvc{}
data, err := taskManageSvc.ExecScript(req) err := taskManageSvc.ExecScript(req)
if err != nil { if err != nil {
SendJsonResponse(c, err, nil) SendJsonResponse(c, err, nil)
return return
} }
SendJsonResponse(c, nil, data) SendJsonResponse(c, nil, nil)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment