feat:feature-REQ/2129 修改字段定义

This commit is contained in:
lilong 2024-03-28 14:50:40 +08:00
parent e79aaedac6
commit b4052c48f0

View File

@ -24,7 +24,7 @@ public class AsyncSendMessageParam {
/** /**
* 消息接收用户信息 * 消息接收用户信息
*/ */
private List<SendMessageParam.ReceivePerson> receivePersons; private List<ReceivePerson> receivePersons;
/** /**
* 给全员发送 * 给全员发送
@ -71,4 +71,36 @@ public class AsyncSendMessageParam {
* 业务的唯一ID用于查询发送消息的记录和结果不验证唯一 * 业务的唯一ID用于查询发送消息的记录和结果不验证唯一
*/ */
private String bizId; private String bizId;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public static class ReceivePerson {
/**
* 接收消息的personId
*/
private String personId;
/**
* appType = AppTypeEnum.CMP时因为网易云信无法对同一个账号做企业隔离只能一个企业一个账号
* 所以需要根据organizationalUnitId获取账号
*/
private Long ouId;
/**
* 发送消息到App端
* 工人端企业端服务器
* CMCMPSYSTEM
*
* @See cn.axzo.im.center.common.enums.AppTypeEnum
*/
private AppTypeEnum appType;
/**
* im账号可以personId和imAccount二选一
*/
private String imAccount;
}
} }