16 lines
348 B
JavaScript
16 lines
348 B
JavaScript
import http from "@/utils/http";
|
|
class FileServe {
|
|
async upload_oos_img(row) {
|
|
let res = await http.postFormData("/sys_file/upload_oos_img", row);
|
|
return res;
|
|
}
|
|
|
|
async upload_Img(row) {
|
|
let res = await http.postFormData("/file/upload_Img", row);
|
|
return res;
|
|
}
|
|
}
|
|
|
|
const fileServe = new FileServe();
|
|
export default fileServe;
|