update 优化 提示语与待办时间展示

This commit is contained in:
疯狂的狮子Li
2025-12-15 15:49:03 +08:00
parent 7f009f4b09
commit 2add71a01c
4 changed files with 89 additions and 2 deletions

View File

@@ -43,6 +43,7 @@ import org.springframework.web.bind.annotation.*;
import java.net.URL;
import java.nio.charset.StandardCharsets;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -104,7 +105,7 @@ public class TokenController {
Long userId = LoginHelper.getUserId();
scheduledExecutorService.schedule(() -> {
remoteMessageService.publishMessage(List.of(userId), "欢迎登录RuoYi-Cloud-Plus微服务管理系统");
remoteMessageService.publishMessage(List.of(userId), DateUtils.getTodayHour(new Date()) + "好,欢迎登录 RuoYi-Cloud-Plus 后台管理系统");
}, 5, TimeUnit.SECONDS);
return R.ok(loginVo);
}