| | |
| | | .map(it -> convertSysNotice(title, message, it, tenantId, jumpPath, unipushService.convertWebPathToAppPath(jumpPath), userId))
|
| | | .collect(Collectors.toList());
|
| | | sysNoticeService.saveBatch(sysNotices);
|
| | | try {
|
| | | unipushService.sendClientMessage(sysNotices);
|
| | | } catch (Exception e) {
|
| | | log.error("APP推送通知失败,原因: {}", e);
|
| | | }
|
| | | // try {
|
| | | // unipushService.sendClientMessage(sysNotices);
|
| | | // } catch (Exception e) {
|
| | | // log.error("APP推送通知失败,原因: {}", e);
|
| | | // }
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | .collect(Collectors.toList());
|
| | |
|
| | | sysNoticeService.saveBatch(collect);
|
| | | try {
|
| | | unipushService.sendClientMessage(collect);
|
| | | } catch (Exception e) {
|
| | | log.error("APP推送通知失败,原因: {}", e);
|
| | | }
|
| | | // try {
|
| | | // unipushService.sendClientMessage(collect);
|
| | | // } catch (Exception e) {
|
| | | // log.error("APP推送通知失败,原因: {}", e);
|
| | | // }
|
| | | }
|
| | |
|
| | |
|