REQ-2481: 调整枚举名称

This commit is contained in:
yanglin 2024-06-05 16:46:09 +08:00
parent 4df9f44f5f
commit 0785f87f9f
2 changed files with 2 additions and 2 deletions

View File

@ -5,5 +5,5 @@ package cn.axzo.im.enums;
*/
public enum ApiChannel {
COMMON_MESSAGE,
SYSTEM_MESSAGE
CUSTOM_MESSAGE
}

View File

@ -476,7 +476,7 @@ public class MessageService {
messageHistory.setBatchNo(UUIDUtil.uuidString());
messageHistory.setSendPriority(SendPriority.SYSTEM_CUSTOM_MESSAGE
.determinePriority(messageRequest.getSendPriority()));
messageHistory.setApiChannel(ApiChannel.SYSTEM_MESSAGE);
messageHistory.setApiChannel(ApiChannel.CUSTOM_MESSAGE);
return messageHistory;
}).collect(toList());
try {