import { post, http } from 'mocp/utils/http'

export const unplanWarningListApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/workbench/unplanWarning/unplanWarningList',
        data,
        config
    })
}

export const addUnplanWarningApi = (data, config) => {
    return post({
        method: 'POST',
        url: '/workbench/unplanWarning/addUnplanWarning',
        data,
        config
    })
}

export const getUnplanWarningApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/workbench/unplanWarning/getUnplanWarning',
        data,
        config
    })
}
export const changeStatusApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/workbench/unplanWarning/changeStatus',
        data,
        config
    })
}
