feat(common): Add websocket plugin dependencies and modify the service name acquisition method

This commit is contained in:
sol 2025-10-28 18:06:33 +08:00
parent 5dd080c5b7
commit 2c0bbbc26f
2 changed files with 6 additions and 1 deletions

View file

@ -41,6 +41,11 @@
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
</dependency>
<dependency>
<groupId>com.bgasol</groupId>
<artifactId>plugin-websocket</artifactId>
<version>0.0.1</version>
</dependency>
</dependencies>
</project>

View file

@ -28,7 +28,7 @@ public class RequestLoggingInterceptor implements HandlerInterceptor {
private static final String START_TIME_ATTRIBUTE = "REQUEST_START_TIME";
private static final String REQUEST_HANDLER_ATTRIBUTE = "REQUEST_HANDLER";
private static final String REQUEST_LOG = "REQUEST_LOG";
@Value("${server.servlet.context-path}")
@Value("${spring.application.name}")
private String serviceName;
private final RedissonClient redissonClient;
private final ObjectMapper objectMapper;