import request from '@/utils/request' export function diyApi(url, data = {}, method = "POST", contentType = 'json') { return request({ 'url': url, 'method': method, 'data': data }) } export function diyApiGet(url, data = {}, method = "GET", contentType = 'json') { return request({ 'url': url, 'method': method, 'params': data }) }