import request from '@/utils/request'

// 查询应用执行计划管理列表
export function listCtApplyPlan(query) {
  return request({
    url: '/business/ctApplyPlan/list',
    method: 'get',
    params: query
  })
}

// 查询应用执行计划管理详细
export function getCtApplyPlan(id) {
  return request({
    url: '/business/ctApplyPlan/' + id,
    method: 'get'
  })
}

// 新增应用执行计划管理
export function addCtApplyPlan(data) {
  return request({
    url: '/business/ctApplyPlan',
    method: 'post',
    data: data
  })
}

// 修改应用执行计划管理
export function updateCtApplyPlan(data) {
  return request({
    url: '/business/ctApplyPlan',
    method: 'put',
    data: data
  })
}

// 删除应用执行计划管理
export function delCtApplyPlan(id) {
  return request({
    url: '/business/ctApplyPlan/' + id,
    method: 'delete'
  })
}
