WXL
2024-06-05 711c995d7307b4a2d56e55095e3f81ffbdfc4d39
src/api/monitor/job.js
@@ -29,8 +29,8 @@
// 修改定时任务调度
export function updateJob(data) {
  return request({
    url: '/monitor/job',
    method: 'put',
    url: '/monitor/job/edit',
    method: 'post',
    data: data
  })
}
@@ -38,8 +38,8 @@
// 删除定时任务调度
export function delJob(jobId) {
  return request({
    url: '/monitor/job/' + jobId,
    method: 'delete'
    url: '/monitor/job/remove/' + jobId,
    method: 'get'
  })
}
@@ -51,7 +51,7 @@
  }
  return request({
    url: '/monitor/job/changeStatus',
    method: 'put',
    method: 'post',
    data: data
  })
}
@@ -65,7 +65,7 @@
  }
  return request({
    url: '/monitor/job/run',
    method: 'put',
    method: 'post',
    data: data
  })
}
}