REQ-3284: 普通消息控制push

This commit is contained in:
yanglin 2024-12-10 16:11:30 +08:00
parent 88aff25242
commit e93fca0b82

View File

@ -221,6 +221,7 @@ public class NimChannelService implements IMChannelProvider {
paramMap.put("ope", messageInfo.getOpe());
paramMap.put("to", messageInfo.getTo());
paramMap.put("type", messageInfo.getType());
paramMap.put("option", messageInfo.getOption());
Map<String, String> authHeaderMap = buildAuthHeader(getProviderAppKey(), getProviderAppSecret());
HttpResponse response = null;
@ -270,6 +271,7 @@ public class NimChannelService implements IMChannelProvider {
paramMap.put("type", messageInfo.getType());
//是否需要返回消息ID false不返回消息ID默认值 true返回消息IDtoAccids 包含的账号数量不可以超过 100
paramMap.put("returnMsgid", true);
paramMap.put("option", messageInfo.getOption());
Map<String, String> authHeaderMap = buildAuthHeader(getProviderAppKey(), getProviderAppSecret());
HttpResponse response = null;
MessageBatchDispatchResponse nimResp = null;