企获客基础班本接口方法等描述
This commit is contained in:
12
apis/interfaces/file.js
Normal file
12
apis/interfaces/file.js
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
/*
|
||||
* 公用接口
|
||||
*/
|
||||
|
||||
import {upload} from "../request"
|
||||
|
||||
const uploadImg = (imgPaht, data) => upload({url: "storage", key: "image", path: imgPaht, data: data}) //上传图片
|
||||
|
||||
export default({
|
||||
uploadImg
|
||||
})
|
||||
Reference in New Issue
Block a user