Revert "用户"

This reverts commit f6824511ca617c9421633c44830c938b862e75df.

Reason for revert: <撤销>

Change-Id: Ie4ee5bc5d3fa26981f61c52408ecf2d0a8e45243
diff --git a/pom.xml b/pom.xml
index 602e1db..20b8e71 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
 
     <groupId>groupId</groupId>
@@ -10,14 +10,14 @@
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.6.0</version>
-        <relativePath/> <!-- lookup parent from repository -->
+        <version>2.6.0</version> <!-- 使用你希望的Spring Boot版本 -->
+        <relativePath /> <!-- lookup parent from repository -->
     </parent>
-
     <properties>
         <maven.compiler.source>17</maven.compiler.source>
         <maven.compiler.target>17</maven.compiler.target>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <sa-token.version>1.37.0</sa-token.version>
     </properties>
 
     <dependencies>
@@ -78,6 +78,16 @@
             <groupId>javax.xml.bind</groupId>
             <artifactId>jaxb-api</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.github.xiaoymin</groupId>
+            <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
+            <version>4.5.0</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.validation</groupId>
+            <artifactId>validation-api</artifactId>
+            <version>2.0.1.Final</version>
+        </dependency>
         <!-- Spring Web MVC -->
         <dependency>
             <groupId>org.springframework</groupId>
@@ -108,11 +118,17 @@
             <version>1.18.30</version> <!-- 确保使用的是最新版本 -->
             <scope>provided</scope>
         </dependency>
+        <dependency>
+            <groupId>com.github.pagehelper</groupId>
+            <artifactId>pagehelper-spring-boot-starter</artifactId>
+            <version>1.4.7</version>
+        </dependency>
+
 
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
-            <version>1.7.30</version> <!-- 版本可以根据需要调整 -->
+            <version>1.7.32</version> <!-- 版本可以根据需要调整 -->
         </dependency>
         <dependency>
             <groupId>ch.qos.logback</groupId>
@@ -120,7 +136,6 @@
             <version>1.2.3</version> <!-- 版本可以根据需要调整 -->
         </dependency>
         <dependency>
-
             <groupId>commons-fileupload</groupId>
             <artifactId>commons-fileupload</artifactId>
             <version>1.4</version>
@@ -130,11 +145,7 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-validation</artifactId>
         </dependency>
-        <dependency>
-            <groupId>com.baidubce</groupId>
-            <artifactId>qianfan</artifactId>
-            <version>0.1.1</version>
-        </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-webflux</artifactId>
@@ -145,51 +156,18 @@
             <version>4.12</version>
             <scope>test</scope>
         </dependency>
-        <dependency>
-            <groupId>org.mockito</groupId>
-            <artifactId>mockito-core</artifactId>
-            <scope>test</scope>
-        </dependency>
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-test</artifactId>
             <scope>test</scope>
         </dependency>
-
-        <dependency>
-            <groupId>jakarta.persistence</groupId>
-            <artifactId>jakarta.persistence-api</artifactId>
-            <version>3.1.0</version>
-        </dependency>
-
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-data-jpa</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>jakarta.transaction</groupId>
-            <artifactId>jakarta.transaction-api</artifactId>
-            <version>2.0.0</version> <!-- 使用最新版本 -->
-        </dependency>
-
-        <dependency>
-            <groupId>org.hibernate</groupId>
-            <artifactId>hibernate-core</artifactId>
-            <version>5.6.7.Final</version> <!-- 与 Jakarta 兼容的版本 -->
-        </dependency>
-
-        <dependency>
-            <groupId>mysql</groupId>
-            <artifactId>mysql-connector-java</artifactId>
-            <version>8.0.27</version> <!-- 使用适合你的版本 -->
-        </dependency>
-
         <dependency>
             <groupId>com.turn</groupId>
             <artifactId>ttorrent-common</artifactId>
             <version>1.3.0-SNAPSHOT</version>
         </dependency>
+
         <!-- ttorrent -->
         <dependency>
             <groupId>com.turn</groupId>
@@ -226,26 +204,30 @@
             <artifactId>ttorrent-tracker</artifactId>
             <version>1.3.0-SNAPSHOT</version>
         </dependency>
-
         <dependency>
-            <groupId>com.github.pagehelper</groupId>
-            <artifactId>pagehelper-spring-boot-starter</artifactId>
-            <version>1.4.7</version>
+            <groupId>com.github.xiaoymin</groupId>
+            <artifactId>knife4j-openapi3-jakarta-spring-boot-starter</artifactId>
+            <version>4.5.0</version>
         </dependency>
 
         <dependency>
             <groupId>cn.dev33</groupId>
             <artifactId>sa-token-spring-boot-starter</artifactId>
-            <version>1.38.0</version> <!-- 请确认使用最新版本或与你的Spring Boot版本匹配 -->
+            <version>${sa-token.version}</version>
         </dependency>
 
 
 
+
+        <dependency>
+            <groupId>jakarta.persistence</groupId>
+            <artifactId>jakarta.persistence-api</artifactId>
+            <version>3.1.0</version>
+        </dependency>
+
     </dependencies>
 
 
-
-
     <build>
         <plugins>
             <plugin>
@@ -290,7 +272,8 @@
                 <artifactId>maven-surefire-plugin</artifactId>
                 <version>2.9</version>
                 <configuration>
-                    <!--suppress UnresolvedMavenProperty -->
+                    <!--suppress
+                    UnresolvedMavenProperty -->
                     <argLine>${surefireArgLine}</argLine>
                     <skipTests>false</skipTests>
                     <includes>
@@ -309,14 +292,22 @@
             </plugin>
 
         </plugins>
-        <resources>
-            <resource>
-                <directory>src/main/java</directory>
-                <includes>
-                    <include>**/*.xml</include>
-                </includes>
-            </resource>
-        </resources>
+<!--                <resources>-->
+<!--                    <resource>-->
+<!--                        <directory>src/main/java</directory>-->
+<!--                        <includes>-->
+<!--                            <include>**/*.xml</include>-->
+<!--                        </includes>-->
+<!--                    </resource>-->
+<!--                    <resource>-->
+<!--                        <directory>libs</directory>-->
+<!--                        <includes>-->
+<!--                            <include>*.jar</include>-->
+<!--                        </includes>-->
+<!--                    </resource>-->
+<!--                    </resources>-->
+
+
     </build>
 
 </project>
\ No newline at end of file