import httpRequest from '../http/interface' export const postAction = (url : string, data = {}, headerCustom = {}) => { return httpRequest( url, 'POST', data, headerCustom, ) } export const getAction = (url : string, data = {}, headerCustom = {}) => { return httpRequest( url, 'GET', data, headerCustom, ) } export const putAction = (url : string, data = {}, headerCustom = {}) => { return httpRequest( url, 'PUT', data, headerCustom ) } export const deleteAction = (url : string, data = {}, headerCustom = {}) => { return httpRequest( url, 'DELETE', data, headerCustom ) } // 默认全部导出 import api from '@/common/vmeitime-http/'