zhangqian
2024-07-01 73b6baf6af3d88cdcb0e2df7932a9bd96b0b85c5
controllers/system_config.go
@@ -9,6 +9,7 @@
   "wms/pkg/structx"
   "wms/request"
   "wms/service"
   "wms/task"
)
type SystemConfigController struct{}
@@ -54,6 +55,11 @@
      }
   }
   if err := task.RestartDynamicTask(); err != nil {
      util.ResponseFormat(c, code.SaveFail, "重启定时任务失败")
      return
   }
   util.ResponseFormat(c, code.Success, "保存成功")
}