#E10-12# 增加消息接口

main
shilei 1 year ago
parent 8637488c05
commit 1a0373e680

@ -1242,7 +1242,7 @@ public class HrmSelfHelpController {
smg.setDynamicParams(params);
smg.setReceivers(Collections.singletonList((new UserEntity()).setPhone(simpleEmployee.getTelephone()).setTenantKey(simpleEmployee.getTenantKey4Im()).setEmployeeId(simpleEmployee.getEmployeeId().longValue()).setEmail(simpleEmployee.getEmail()).setLanguage(6)));
Set<MessageChannelEnum> set = new HashSet<>();
set.add(MessageChannelEnum.SMS);
set.add(MessageChannelEnum.IM);
smg.setChannels(set);
return smg;
}

Loading…
Cancel
Save