From 8a966ac5aecc90374760d73ff173dcf3357717b1 Mon Sep 17 00:00:00 2001 From: fan Date: Mon, 22 May 2023 11:18:16 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20"=E7=BE=A4=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=B7=B2=E8=AF=BB""?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 204aef15 --- src/api/newChat.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 + }); +}