NVUE页面调试经常报错,不知道为什么
This commit is contained in:
@@ -118,7 +118,25 @@ const getGroupAnnouncements = (groupId) => {
|
||||
return request({
|
||||
url: 'im/groups/' + groupId + '/announcements'
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const createGroupAnnouncement = (groupId, content) => {
|
||||
return request({
|
||||
method: 'POST',
|
||||
url: 'im/groups/' + groupId + '/announcements',
|
||||
data: {
|
||||
content: content
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const deleteGroupAnnouncement = (groupId, announcementId) => {
|
||||
return request({
|
||||
method: 'DELETE',
|
||||
url: 'im/groups/' + groupId + '/announcements/' + announcementId
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建群聊
|
||||
*/
|
||||
@@ -178,7 +196,9 @@ export {
|
||||
updateGroup,
|
||||
getGroupInfo,
|
||||
getGroupUsers,
|
||||
getGroupAnnouncements,
|
||||
getGroupAnnouncements,
|
||||
createGroupAnnouncement,
|
||||
deleteGroupAnnouncement,
|
||||
searchGroup,
|
||||
joinGroup,
|
||||
quitGroup
|
||||
|
||||
Reference in New Issue
Block a user