锶源昆仑会员+体验官
This commit is contained in:
11
api/interfaces/file.js
Normal file
11
api/interfaces/file.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* 图图片上传公用接口
|
||||
*/
|
||||
import {upload} from "../request"
|
||||
|
||||
//图上传
|
||||
const uploadImg = (imgPaht, data) => upload({url: "storage/upload", method: "POST", key: "upload", path: imgPaht, data: data})
|
||||
|
||||
export default({
|
||||
uploadImg
|
||||
})
|
||||
Reference in New Issue
Block a user