import request from '@/utils/request'
export function upload(data) {
    return request({
      url: '/images/upload',
      method: 'post',
      data: data
    })
}
export function deleteImages(id) {
    return request({
      url: '/images/delete/'+id,
      method: 'delete'
    })
}
export function list(){
    return request({
        url: '/images/list',
        method: 'get'
      })
}