mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 00:45:54 +08:00
IM
This commit is contained in:
26
im/src/api/emoticon.js
Normal file
26
im/src/api/emoticon.js
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user