update 优化 登录消息推送异常拦截(未启动resource也不耽误用)
parent
3bcc828a33
commit
c3559c8208
|
|
@ -97,7 +97,10 @@ public class TokenController {
|
|||
|
||||
Long userId = LoginHelper.getUserId();
|
||||
scheduledExecutorService.schedule(() -> {
|
||||
try {
|
||||
remoteMessageService.sendMessage(userId, "欢迎登录RuoYi-Cloud-Plus微服务管理系统");
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}, 3, TimeUnit.SECONDS);
|
||||
return R.ok(loginVo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue