zhangqian
2024-06-27 80c8e74c7428329f06d1aa3b70b95b46da732b0a
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, "保存成功")
}