You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
687 B

import request from "@/utils/request"
// 查询用户所有好友
export function getUserAllFriend() {
return request({
url: "/im/friend/getUserAllFriend",
method: "get"
})
}
// 查询用户所有群
export function getUserAllGroup() {
return request({
url: "/im/group/getUserAllGroup",
method: "get"
})
}
// 查询组用户
export function getGroupUser(id) {
return request({
url: "/im/groupUser/getGroupUser/"+ id + "?r=" + Math.random(),
method: "get"
})
}
// 通过唯一会话key获取消息
export function getMessageByChatKey(data) {
return request({
url: "/im/message/getMessageByChatKey",
method: "post",
data: data
})
}