init
This commit is contained in:
15
src/api/system/fileServe.js
Normal file
15
src/api/system/fileServe.js
Normal file
@@ -0,0 +1,15 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user