This commit is contained in:
2022-12-28 10:08:51 +08:00
parent 0fa93d545e
commit 3881370b6e
151 changed files with 17044 additions and 0 deletions

26
im/src/api/emoticon.js Normal file
View File

@@ -0,0 +1,26 @@
import { post, get, upload } from '@/utils/request'
// 查询用户表情包服务接口
export const ServeFindUserEmoticon = () => {
return get('/emoticon/list')
}
// 查询系统表情包服务接口
export const ServeFindSysEmoticon = () => {
return get('/emoticon/system')
}
// 设置用户表情包服务接口
export const ServeSetUserEmoticon = data => {
return post('/emoticon/set-user-emoticon', data)
}
// 移除收藏表情包服务接口
export const ServeDelCollectEmoticon = data => {
return post('/emoticon/del-collect-emoticon', data)
}
// 上传表情包服务接口
export const ServeUploadEmoticon = data => {
return upload('/emoticon/upload-emoticon', data)
}