Revert "Revert "群消息已读""

This reverts commit 204aef15
This commit is contained in:
fan 2023-05-22 11:18:16 +08:00
parent 5eb2a3f80c
commit 8a966ac5ae

View File

@ -172,3 +172,18 @@ export function sendBase64(groupId, data) {
data
});
}
/**
* 设置群消息已读
* @param {String} groupId 房间号
* @param {Object} data
* @param {Number} data.id 群组id
* @returns
*/
export function setGroupReadMessage(groupId, data) {
return request({
url: `/simulation/${groupId}/operate/Conversation_Group_Read_Message`,
method: 'post',
data
});
}