/*
 * 图图片上传公用接口
*/
import { upload } from "../request"

//图上传
const uploadImg = (imgPaht, data) => upload({
    url: "storage/upload",
    method: "POST",
    key: "upload",
    path: imgPaht,
    data: data
})

export default ({
    uploadImg
})