import request from '@/utils/request'

// 查询${functionName}列表
export function ${businessName}_list(query) {
  return request({
    url: '/project/${businessName}/list',
    method: 'get',
    params: query
  })
}

// 查询${functionName}详情
export function ${businessName}_info(query) {
  return request({
    url: '/project/${businessName}/info',
    method: 'get',
    params: query
  })
}

// 保存${functionName}
export function ${businessName}_save(data) {
  return request({
    url: '/project/${businessName}/save',
    method: 'post',
    data: data
  })
}

// 删除${functionName}
export function ${businessName}_delete(data) {
  return request({
    url: '/project/${businessName}/delete',
    method: 'post',
    data: data
  })
}