feat: 添加swagger,更改springboot版本为3.5.15,去除STR末班字符串
This commit is contained in:
22
pom.xml
22
pom.xml
@@ -6,7 +6,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>3.5.15</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
|
||||
@@ -18,14 +18,13 @@
|
||||
|
||||
<properties>
|
||||
<java.version>21</java.version>
|
||||
<maven.compiler.args>--enable-preview</maven.compiler.args>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- Web MVC 核心(Boot4 标准) -->
|
||||
<!-- Web MVC 核心 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-webmvc</artifactId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- JPA 持久层 -->
|
||||
@@ -50,10 +49,10 @@
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- AOP/AspectJ 【已修正:Boot4 正式名称】 -->
|
||||
<!-- AOP/AspectJ -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-aspectj</artifactId>
|
||||
<artifactId>spring-boot-starter-aop</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- MySQL 驱动 -->
|
||||
@@ -77,10 +76,10 @@
|
||||
<version>5.8.38</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Sa-Token 权限框架(适配 Boot4) -->
|
||||
<!-- Sa-Token 权限框架(适配 Boot3) -->
|
||||
<dependency>
|
||||
<groupId>cn.dev33</groupId>
|
||||
<artifactId>sa-token-spring-boot4-starter</artifactId>
|
||||
<artifactId>sa-token-spring-boot3-starter</artifactId>
|
||||
<version>1.45.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -107,6 +106,13 @@
|
||||
<artifactId>spring-security-crypto</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Swagger / OpenAPI 接口文档 -->
|
||||
<dependency>
|
||||
<groupId>org.springdoc</groupId>
|
||||
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
|
||||
<version>2.8.17</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 统一测试依赖 -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
|
||||
Reference in New Issue
Block a user