/*
 * @Author: your name
 * @Date: 2021-06-24 16:19:46
 * @LastEditTime: 2021-06-24 17:06:12
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /react-antd-admin-template/src/api/common.js
 */


import request from '@/utils/request';


//上传图片
export function uploadFile(data) {
    return request({
      url: '/upload/file',
      method: 'post',
      data
    })
}
