diff --git a/src/api/newChat.js b/src/api/newChat.js index 3e7f3ca06..bdcc96501 100644 --- a/src/api/newChat.js +++ b/src/api/newChat.js @@ -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 + }); +}