群组信息的页面间联动

This commit is contained in:
2022-02-14 10:38:44 +08:00
parent 5f159a05b7
commit ed9fe0ff9c
8 changed files with 185 additions and 64 deletions

View File

@@ -107,6 +107,15 @@ const getGroupInfo = (groupId) => {
url: 'im/groups/' + groupId
})
}
/**
* 群组基础信息
*/
const getGroupBase = (groupId) => {
return request({
url: 'im/groups/' + groupId+ '/base'
})
}
const getGroupUsers = (groupId) => {
return request({
@@ -194,7 +203,8 @@ export {
getMyGroups,
createGroup,
updateGroup,
getGroupInfo,
getGroupInfo,
getGroupBase,
getGroupUsers,
getGroupAnnouncements,
createGroupAnnouncement,