Skip to content

Commit

Permalink
fix: 修复粘贴剪贴图片发送问题.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evansy authored Jul 24, 2023
1 parent fd3636b commit 74675c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/apis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default {
blockUser: (data: { uid: number }) => putRequest<void>(urls.blockUser, data),
/** 获取临时上传链接 */
getUploadUrl: (params: any) =>
getRequest<{ downloadUrl: string; uploadUrl: string }>(urls.fileUpload, { params }),
getRequest<{ downloadUrl: string; uploadUrl: string }>(urls.fileUpload, { localCache: 0, params }),
/** 新增表情包 */
addEmoji: (data: { uid: number; expressionUrl: string }) =>
postRequest<MessageType>(urls.addEmoji, data),
Expand Down

0 comments on commit 74675c4

Please sign in to comment.