1.修复当有用户使用某个角色时,该角色也可以被禁用的BUG

2.引入热部署依赖,配置开启热部署(热更新快捷键:Ctrl+F9)
This commit is contained in:
dk
2026-04-07 11:14:28 +08:00
parent db96a8efa1
commit 7e22f79b5f
6 changed files with 98 additions and 38 deletions

View File

@@ -31,8 +31,6 @@
<version>${revision}</version>
</dependency>
<dependency>
<groupId>com.njcn</groupId>
<artifactId>rdms-spring-boot-starter-biz-ip</artifactId>
@@ -79,8 +77,6 @@
<artifactId>rdms-spring-boot-starter-websocket</artifactId>
</dependency>
<!-- 消息队列相关 -->
<dependency>
<groupId>com.njcn</groupId>
@@ -125,6 +121,13 @@
<artifactId>s3</artifactId>
</dependency>
<!-- 热部署-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>runtime</scope>
<optional>true</optional>
</dependency>
</dependencies>
<build>
@@ -136,6 +139,9 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<configuration>
<addResources>true</addResources> <!-- 开启热部署必须配置 -->
</configuration>
<executions>
<execution>
<goals>