import request from '@/libs/request'

export function getApplicationsGroupList(query) {
    return request({
        url: '/applicationsGroup/list',
        method: 'get',
        params: query
    })
}

export function addApplicationsGroup(data) {
    return request({
        url: '/applicationsGroup/add',
        method: 'post',
        data: data,
        loading:"hourglass"
    })
}

export function updateApplicationsGroup(data) {
    return request({
        url: '/applicationsGroup/update',
        method: 'post',
        data: data,
        loading:"hourglass"
    })
}


export function updateApplicationsGroupSortIndex(data) {
    return request({
        url: '/applicationsGroup/updateSortIndex',
        method: 'post',
        data: data,
        loading:"hourglass"
    })
}

export function delApplicationsGroup(data) {
    return request({
        url: '/applicationsGroup/delete',
        method: 'post',
        data: data,
        loading:"hourglass"
    })
}