import {post} from "./axios";
import {UPLOAD_URL} from "../config/config";

export const uploadFile=(formData)=>{
  return new Promise((resolve, reject) => {
    post(UPLOAD_URL,null,formData).then(res=>{
      resolve(res)
    }).catch(err=>{
      resolve('');
    });
  })
};

 

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2021-09-10
  • 2021-09-24
  • 2021-05-16
  • 2021-07-18
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2023-01-10
  • 2022-12-23
  • 2022-12-23
  • 2023-01-10
  • 2020-01-07
  • 2021-06-02
  • 2021-06-06
相关资源
相似解决方案