forked from gzydong/LumenIM
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
44 changed files
with
594 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
NODE_ENV=production | ||
VUE_APP_PREVIEW=false | ||
VUE_APP_API_BASE_URL=http://im-serve.gzydong.club | ||
VUE_APP_WEB_SOCKET_URL=ws://im-socket.gzydong.club/socket.io | ||
VUE_APP_API_BASE_URL=https://im-api.gzydong.club/ | ||
VUE_APP_WEB_SOCKET_URL=wss://im-api.gzydong.club/wss/default.io | ||
VUE_APP_WEBSITE_NAME="Lumen IM" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
NODE_ENV=development | ||
VUE_APP_PREVIEW=true | ||
VUE_APP_API_BASE_URL=http://127.0.0.1:9503 | ||
VUE_APP_WEB_SOCKET_URL=ws://im-serve.local-admin.com/wss/default.io | ||
VUE_APP_WEB_SOCKET_URL=ws://127.0.0.1:9504/wss/default.io | ||
VUE_APP_WEBSITE_NAME="Lumen IM" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
import { post, get, upload } from '@/utils/request' | ||
|
||
// 上传头像裁剪图片服务接口 | ||
export const ServeUploadFileStream = data => { | ||
return post('/api/v1/upload/file-stream', data) | ||
export const ServeUploadAvatar = data => { | ||
return post('/api/v1/upload/avatar', data) | ||
} | ||
|
||
// 查询大文件拆分信息服务接口 | ||
export const ServeFindFileSplitInfo = (data = {}) => { | ||
return get('/api/v1/upload/get-file-split-info', data) | ||
return post('/api/v1/upload/multipart/initiate', data) | ||
} | ||
|
||
// 文件拆分上传服务接口 | ||
export const ServeFileSubareaUpload = (data = {}, options = {}) => { | ||
return upload('/api/v1/upload/file-subarea-upload', data, options) | ||
} | ||
return upload('/api/v1/upload/multipart', data, options) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.