1234567891011121314151617181920212223242526272829303132333435 |
- import request from '@/utils/request'
- // 查询定时任务调度列表
- export function listJob(query) {
- return request({
- url: '/method/list',
- method: 'get',
- params: query
- })
- }
- // 查询定时任务调度详细
- export function getJob(jobId) {
- return request({
- url: '/method/' + jobId,
- method: 'get'
- })
- }
- // 新增定时任务调度
- export function addJob(data) {
- return request({
- url: '/method',
- method: 'post',
- data: data
- })
- }
- // 删除定时任务调度
- export function delJob(jobId) {
- return request({
- url: '/method/' + jobId,
- method: 'delete'
- })
- }
|