mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-19 09:25:53 +08:00
IM
This commit is contained in:
16
im/src/api/upload.js
Normal file
16
im/src/api/upload.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import { post, get, upload } from '@/utils/request'
|
||||
|
||||
// 上传头像裁剪图片服务接口
|
||||
export const ServeUploadFileStream = data => {
|
||||
return post('/upload/file-stream', data)
|
||||
}
|
||||
|
||||
// 查询大文件拆分信息服务接口
|
||||
export const ServeFindFileSplitInfo = (data = {}) => {
|
||||
return get('/upload/get-file-split-info', data)
|
||||
}
|
||||
|
||||
// 文件拆分上传服务接口
|
||||
export const ServeFileSubareaUpload = (data = {}, options = {}) => {
|
||||
return upload('/upload/file-subarea-upload', data, options)
|
||||
}
|
||||
Reference in New Issue
Block a user