添加礼薄模块
This commit is contained in:
@@ -75,6 +75,11 @@
|
||||
<artifactId>giftBook-job</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>cn.xxzhx.giftBook</groupId>
|
||||
<artifactId>giftBook-main</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 代码生成-->
|
||||
<dependency>
|
||||
<groupId>cn.xxzhx.giftBook</groupId>
|
||||
|
||||
@@ -107,7 +107,7 @@ public class AuthController {
|
||||
Long userId = LoginHelper.getUserId();
|
||||
scheduledExecutorService.schedule(() -> {
|
||||
SseMessageDto dto = new SseMessageDto();
|
||||
dto.setMessage("欢迎登录giftBook后台管理系统");
|
||||
dto.setMessage("欢迎登录礼薄后台管理系统");
|
||||
dto.setUserIds(List.of(userId));
|
||||
SseMessageUtils.publishMessage(dto);
|
||||
}, 5, TimeUnit.SECONDS);
|
||||
|
||||
Reference in New Issue
Block a user