fix(im): sendGroupMsgArticle补充businessID协议字段,修复客户端显示[自定义消息]
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user