feat:feature-REQ/2129 修改字段定义
This commit is contained in:
parent
e79aaedac6
commit
b4052c48f0
@ -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端
|
||||||
|
* 工人端、企业端、服务器
|
||||||
|
* CM、CMP、SYSTEM
|
||||||
|
*
|
||||||
|
* @See cn.axzo.im.center.common.enums.AppTypeEnum
|
||||||
|
*/
|
||||||
|
private AppTypeEnum appType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* im账号,可以personId和imAccount二选一
|
||||||
|
*/
|
||||||
|
private String imAccount;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user