无法运行。增加注册逻辑

This commit is contained in:
2025-08-02 10:04:18 +08:00
parent 293820b557
commit 9832336b89
13 changed files with 621 additions and 19 deletions

33
pom.xml
View File

@@ -54,6 +54,14 @@
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
@@ -76,6 +84,12 @@
<scope>runtime</scope>
<version>8.0.33</version>
</dependency>
<!--添加数据库驱动依赖(根据实际数据库选择)-->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<!--异步处理-->
<dependency>
@@ -90,6 +104,25 @@
<artifactId>dysmsapi20170525</artifactId>
<version>3.1.1</version>
</dependency>
<!-- JJWT (最新版) -->
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.12.3</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.12.3</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId>
<version>0.12.3</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>