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

export const getFlyToAppletsApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/flighting/getFlyToApplets',//'/flighting/getFList',
        data,
        config
    })
}
export const getAircraftTerminalsApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/resource/flight/getAircraftTerminals',
        data,
        config
    })
}

export const getFListApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/flighting/getFList',
        data,
        config
    })
}
export const getReleaseListApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/flighting/getReleaseList',
        data,
        config
    })
}

export const findWeatherSynopsesMessagesApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/basicinfo/findWeatherSynopsesMessages',
        data,
        config
    })
}
export const getFcArrangeApi = (data, config) => {
    return http({
        method: 'POST',
        url: '/basicinfo/Aircraft/getFcArrange',
        data,
        config
    })
}
/*
* 获取航班任务-定时执行
* /flighting/getFlightTask
* {catchId: 9435439}
*
* 获取飞往目的地列表
* /flighting/getFlyToApplets
* */
