Merge branch 'feature/REQ-1465' of axzsource.com:universal/infrastructure/backend/msg-center-plat into dev

This commit is contained in:
luofu 2023-10-30 15:23:32 +08:00
commit c751780e02

View File

@ -164,6 +164,9 @@ public class GeneralMessageServiceImpl implements GeneralMessageService {
// 扩展信息
Map<String, String> ext = new HashMap<>();
ext.put("minAppVersion", template.getMinAppVersion());
if (Objects.nonNull(record.getOrgId()) && record.getOrgId() > 0L) {
ext.put("workspaceId", record.getOrgId().toString());
}
msgInfo.setExtendsInfo(ext);
ApiResult<List<MessageDispatchResp>> result = messageApi.sendMessage(msgInfo);