import { HcApi } from '../request/index'

//get
export const get = (form) => HcApi({
    url: form.url,
    method: 'get',
    params: form.params,
}, false)

//post
export const post = (form) => HcApi({
    url: form.url,
    method: 'post',
    params: form.params,
    data: form.data,
}, false)
