import request from '@/utils/request'

// 新增程序版本
export const addEdData = (data) => {
    return request({
        url: '/cs-device-boot/edData/addEdData',
        method: 'post',
        headers: {
            'Content-Type': 'multipart/form-data',
        },
        data: data,
    })
}

export const auditEdData = (data) => {
    return request({
        url: '/cs-device-boot/edData/auditEdData',
        method: 'post',
        headers: {
            'Content-Type': 'multipart/form-data',
        },
        data: data,
    })
}
// 修改-删除工程
export const auditEngineering = (data:any)=> {
    return request({
        url: '/cs-device-boot/engineering/auditEngineering',
        method: 'post',
        data: data,
    })
}
// 修改项目
export const updateProject = (data:any) => {
    return request({
        url: '/cs-device-boot/project/updateProject',
        method: 'post',

        data: data,
    })
}