import request from '@/utils/request'

export function uploadImage(data) {
  return request({
    headers: {
      'Content-type': 'multipart/form-data'
    },
    url: '/upload/image',
    data: data,
    method: 'post'
  })
}
