用户类完善 商城功能

Change-Id: I2fa4cecee4203114998d7f9f24e956660a2da5ec
diff --git a/pom.xml b/pom.xml
index ea99d5b..b6b889b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,17 +1,16 @@
-<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
         <version>3.4.4</version>
-        <relativePath/> <!-- lookup parent from repository -->
+        <relativePath/>
+        <!--  lookup parent from repository  -->
     </parent>
     <groupId>com.pt5</groupId>
     <artifactId>PT-houduan</artifactId>
     <version>0.0.1-SNAPSHOT</version>
-<!--    <packaging>pom</packaging>-->
+    <!--     <packaging>pom</packaging> -->
     <name>PT-houduan</name>
     <description>PT-houduan</description>
     <url/>
@@ -31,27 +30,25 @@
         <java.version>17</java.version>
     </properties>
     <dependencies>
-<!--        <dependency>-->
-<!--            <groupId>com.turn</groupId>-->
-<!--            <artifactId>ttorrent-client</artifactId>-->
-<!--            <version>1.3.0-SNAPSHOT</version>-->
-<!--        </dependency>-->
-<!--        <dependency>-->
-<!--            <groupId>com.turn</groupId>-->
-<!--            <artifactId>ttorrent-tracker</artifactId>-->
-<!--            <version>1.3.0-SNAPSHOT</version>-->
-<!--        </dependency>-->
-<!--        <dependency>-->
-<!--            <groupId>com.turn</groupId>-->
-<!--            <artifactId>ttorrent</artifactId>-->
-<!--            <version>1.3.0-SNAPSHOT</version>-->
-<!--        </dependency>-->
-
-
-<!--        <dependency>-->
-<!--            <groupId>org.springframework.boot</groupId>-->
-<!--            <artifactId>spring-boot-starter-data-jpa</artifactId>-->
-<!--        </dependency>-->
+        <!--         <dependency> -->
+        <!--             <groupId>com.turn</groupId> -->
+        <!--             <artifactId>ttorrent-client</artifactId> -->
+        <!--             <version>1.3.0-SNAPSHOT</version> -->
+        <!--         </dependency> -->
+        <!--         <dependency> -->
+        <!--             <groupId>com.turn</groupId> -->
+        <!--             <artifactId>ttorrent-tracker</artifactId> -->
+        <!--             <version>1.3.0-SNAPSHOT</version> -->
+        <!--         </dependency> -->
+        <!--         <dependency> -->
+        <!--             <groupId>com.turn</groupId> -->
+        <!--             <artifactId>ttorrent</artifactId> -->
+        <!--             <version>1.3.0-SNAPSHOT</version> -->
+        <!--         </dependency> -->
+        <!--         <dependency> -->
+        <!--             <groupId>org.springframework.boot</groupId> -->
+        <!--             <artifactId>spring-boot-starter-data-jpa</artifactId> -->
+        <!--         </dependency> -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
@@ -66,8 +63,7 @@
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-logging</artifactId>
         </dependency>
-
-        <!--        这边开始是tracker的-->
+        <!--         这边开始是tracker的 -->
         <dependency>
             <groupId>com.turn</groupId>
             <artifactId>tracker</artifactId>
@@ -75,7 +71,7 @@
             <scope>system</scope>
             <systemPath>${project.basedir}/lib/ttorrent-tracker-1.3.0-SNAPSHOT.jar</systemPath>
             <exclusions>
-                <!-- 排除旧版本的 simpleframework -->
+                <!--  排除旧版本的 simpleframework  -->
                 <exclusion>
                     <groupId>org.slf4j</groupId>
                     <artifactId>*</artifactId>
@@ -111,27 +107,27 @@
                 </exclusion>
             </exclusions>
         </dependency>
-<!--        <dependency>-->
-<!--            <groupId>com.turn</groupId>-->
-<!--            <artifactId>cli</artifactId>-->
-<!--            <version>1.3.0-SNAPSHOT</version>-->
-<!--            <scope>system</scope>-->
-<!--            <systemPath>${project.basedir}/lib/ttorrent-cli-1.3.0-SNAPSHOT.jar</systemPath>-->
-<!--            <exclusions>-->
-<!--                <exclusion>-->
-<!--                    <groupId>org.slf4j</groupId>-->
-<!--                    <artifactId>*</artifactId>-->
-<!--                </exclusion>-->
-<!--                <exclusion>-->
-<!--                    <groupId>log4j</groupId>-->
-<!--                    <artifactId>*</artifactId>-->
-<!--                </exclusion>-->
-<!--                <exclusion>-->
-<!--                    <groupId>ch.qos.logback</groupId>-->
-<!--                    <artifactId>*</artifactId>-->
-<!--                </exclusion>-->
-<!--            </exclusions>-->
-<!--        </dependency>-->
+        <!--         <dependency> -->
+        <!--             <groupId>com.turn</groupId> -->
+        <!--             <artifactId>cli</artifactId> -->
+        <!--             <version>1.3.0-SNAPSHOT</version> -->
+        <!--             <scope>system</scope> -->
+        <!--             <systemPath>${project.basedir}/lib/ttorrent-cli-1.3.0-SNAPSHOT.jar</systemPath> -->
+        <!--             <exclusions> -->
+        <!--                 <exclusion> -->
+        <!--                     <groupId>org.slf4j</groupId> -->
+        <!--                     <artifactId>*</artifactId> -->
+        <!--                 </exclusion> -->
+        <!--                 <exclusion> -->
+        <!--                     <groupId>log4j</groupId> -->
+        <!--                     <artifactId>*</artifactId> -->
+        <!--                 </exclusion> -->
+        <!--                 <exclusion> -->
+        <!--                     <groupId>ch.qos.logback</groupId> -->
+        <!--                     <artifactId>*</artifactId> -->
+        <!--                 </exclusion> -->
+        <!--             </exclusions> -->
+        <!--         </dependency> -->
         <dependency>
             <groupId>com.turn</groupId>
             <artifactId>bencode</artifactId>
@@ -195,21 +191,22 @@
                 </exclusion>
             </exclusions>
         </dependency>
-<!--        <dependency>-->
-<!--            <groupId>org.simpleframework</groupId>-->
-<!--            <artifactId>simple-http</artifactId>-->
-<!--            <version>6.0.1</version>-->
-<!--        </dependency>-->
-<!--        <dependency>-->
-<!--            <groupId>org.simpleframework</groupId>-->
-<!--            <artifactId>simple-transport</artifactId>-->
-<!--            <version>6.0.1</version> &lt;!&ndash; 使用最新稳定版本 &ndash;&gt;-->
-<!--        </dependency>-->
-        <!-- 替换现有的 simple-transport 依赖 -->
+        <!--         <dependency> -->
+        <!--             <groupId>org.simpleframework</groupId> -->
+        <!--             <artifactId>simple-http</artifactId> -->
+        <!--             <version>6.0.1</version> -->
+        <!--         </dependency> -->
+        <!--         <dependency> -->
+        <!--             <groupId>org.simpleframework</groupId> -->
+        <!--             <artifactId>simple-transport</artifactId> -->
+        <!--             <version>6.0.1</version> &lt;!&ndash; 使用最新稳定版本 &ndash;&gt; -->
+        <!--         </dependency> -->
+        <!--  替换现有的 simple-transport 依赖  -->
         <dependency>
             <groupId>org.simpleframework</groupId>
             <artifactId>simple</artifactId>
-            <version>5.1.6</version> <!-- 与 ttorrent 兼容的版本 -->
+            <version>5.1.6</version>
+            <!--  与 ttorrent 兼容的版本  -->
             <exclusions>
                 <exclusion>
                     <groupId>*</groupId>
@@ -217,8 +214,7 @@
                 </exclusion>
             </exclusions>
         </dependency>
-
-        <!-- MyBatis-Plus -->
+        <!--  MyBatis-Plus  -->
         <dependency>
             <groupId>com.baomidou</groupId>
             <artifactId>mybatis-plus-boot-starter</artifactId>
@@ -229,8 +225,6 @@
             <artifactId>mybatis-spring</artifactId>
             <version>3.0.3</version>
         </dependency>
-
-
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-devtools</artifactId>
@@ -257,20 +251,24 @@
             <artifactId>h2</artifactId>
             <scope>test</scope>
         </dependency>
-<!--        <dependency>-->
-<!--            <groupId>log4j</groupId>-->
-<!--            <artifactId>log4j</artifactId>-->
-<!--            <version>1.2.17</version>-->
-<!--        </dependency>-->
+        <!--         <dependency> -->
+        <!--             <groupId>log4j</groupId> -->
+        <!--             <artifactId>log4j</artifactId> -->
+        <!--             <version>1.2.17</version> -->
+        <!--         </dependency> -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-mail</artifactId>
+        </dependency>
     </dependencies>
-
     <build>
         <plugins>
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
                 <configuration>
-                    <includeSystemScope>true</includeSystemScope> <!-- 包含system范围的依赖 -->
+                    <includeSystemScope>true</includeSystemScope>
+                    <!--  包含system范围的依赖  -->
                     <executable>true</executable>
                     <layers>
                         <enabled>true</enabled>
@@ -295,7 +293,8 @@
                         </goals>
                         <configuration>
                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
-                            <includeScope>system</includeScope> <!-- 专门复制system范围的依赖 -->
+                            <includeScope>system</includeScope>
+                            <!--  专门复制system范围的依赖  -->
                             <excludeTransitive>true</excludeTransitive>
                         </configuration>
                     </execution>
@@ -328,9 +327,7 @@
             </resource>
         </resources>
     </build>
-
-<!--    <modules>-->
-<!--        <module>ttorrent</module>-->
-<!--    </modules>-->
-
-</project>
+    <!--     <modules> -->
+    <!--         <module>ttorrent</module> -->
+    <!--     </modules> -->
+</project>
\ No newline at end of file