fix(im): sendGroupMsgArticle补充businessID协议字段,修复客户端显示[自定义消息]

This commit is contained in:
2026-07-07 14:12:03 +08:00
parent 9b35cfe9c2
commit 66b77cc231
@@ -300,6 +300,8 @@ public class TencentCloudImUtil {
param.put("CloudCustomData", new JSONObject().fluentPut("fromAdmin", isAdmin).toJSONString());
JSONObject jj = JSONObject.parseObject(req.getContent());
// 保持与 sendGroupMsgText 一致的协议字段,客户端依赖 businessID 识别消息类型
jj.put("businessID", "article");
try {
JSONObject item = new JSONObject();
JSONObject msgContentData = new JSONObject();