From 9057e04efad1b7d61c77a72e5c37a504d0aee935 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 26 九月 2025 09:24:03 +0800
Subject: [PATCH] H5静态化

---
 server/pom.xml |  382 ++++++++++++++++++++++-------------------------------
 1 files changed, 160 insertions(+), 222 deletions(-)

diff --git a/server/pom.xml b/server/pom.xml
index fec4ff3..1898c86 100644
--- a/server/pom.xml
+++ b/server/pom.xml
@@ -4,55 +4,18 @@
          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>com.doumee</groupId>
-  <artifactId>dmvisit</artifactId>
+  <artifactId>dmttwebsite</artifactId>
   <version>1.0.0-SNAPSHOT</version>
-  <packaging>pom</packaging>
-
-  <name>dmvisit</name>
+  <packaging>war</packaging>
+  <name>dmttwebsite</name>
   <description></description>
-  <modules> 
-      <module>visits</module>
-      <module>system_service</module>
-      <module>system_timer</module>
-      <module>system_gateway</module>
-      <module>emaysms</module>
-  </modules>
+
   <parent>
     <groupId>org.springframework.boot</groupId>
     <artifactId>spring-boot-starter-parent</artifactId>
-    <version>2.3.12.RELEASE</version>
-    <relativePath/>
+    <version>2.2.5.RELEASE</version>
   </parent>
-  <properties>
-    <java.version>1.8</java.version>
-    <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
-    <spring-cloud-alibaba.version>2.2.7.RELEASE</spring-cloud-alibaba.version>
-    <maven.compiler.source>8</maven.compiler.source>
-    <maven.compiler.target>8</maven.compiler.target>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
-  <dependencyManagement>
-    <dependencies>
-      <!-- Spring Cloud 渚濊禆绠$悊 -->
-      <dependency>
-        <groupId>org.springframework.cloud</groupId>
-        <artifactId>spring-cloud-dependencies</artifactId>
-        <version>${spring-cloud.version}</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </dependency>
 
-      <!-- Alibaba Cloud 渚濊禆绠$悊 -->
-      <dependency>
-        <groupId>com.alibaba.cloud</groupId>
-        <artifactId>spring-cloud-alibaba-dependencies</artifactId>
-        <version>${spring-cloud-alibaba.version}</version>
-        <type>pom</type>
-        <scope>import</scope>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-<!--
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -61,76 +24,90 @@
     <swagger.bootstrap-ui.version>1.9.6</swagger.bootstrap-ui.version>
     <fastjson.version>1.2.70</fastjson.version>
     <druid.version>1.2.0</druid.version>
-    <mybatis.plus.version>3.4.2</mybatis.plus.version>
+    <mybatis.plus.version>3.5.7</mybatis.plus.version>
     <apache.shiro.version>1.7.0</apache.shiro.version>
     <oshi.version>5.7.0</oshi.version>
     <jna.version>5.7.0</jna.version>
     <poi.version>5.0.0</poi.version>
-    &lt;!&ndash; jwtToken &ndash;&gt;
     <jjwt.version>0.9.1</jjwt.version>
-    &lt;!&ndash; hutool 宸ュ叿鐩稿叧&ndash;&gt;
-    <hutool.version>5.5.8</hutool.version>
-    &lt;!&ndash; 寰俊灏忕▼搴� &ndash;&gt;
-    <weixin-java-miniapp.version>4.1.0</weixin-java-miniapp.version>
-    &lt;!&ndash; 寰俊鏀粯 &ndash;&gt;
-    <weixin-java-pay.version>4.1.0</weixin-java-pay.version>
-    &lt;!&ndash; 闃块噷浜慜SS瀛樺偍 &ndash;&gt;
-    <aliyun-oss.version>3.8.0</aliyun-oss.version>
   </properties>
-
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>com.azure.spring</groupId>
+        <artifactId>spring-cloud-azure-dependencies</artifactId>
+        <version>4.19.0</version>
+        <type>pom</type>
+        <scope>import</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
   <dependencies>
-    &lt;!&ndash; Spring Boot &ndash;&gt;
+    <!-- Spring Boot -->
     <dependency>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-web</artifactId>
     </dependency>
+   <!-- <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter-tomcat</artifactId>
+      <scope>provided</scope>
+    </dependency>-->
+    <!-- Redis -->
     <dependency>
       <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-quartz</artifactId>
+      <artifactId>spring-boot-starter-data-redis</artifactId>
     </dependency>
-    &lt;!&ndash; Shiro &ndash;&gt;
+    <!-- Shiro -->
     <dependency>
       <groupId>org.apache.shiro</groupId>
       <artifactId>shiro-spring</artifactId>
       <version>${apache.shiro.version}</version>
     </dependency>
-    <dependency>
-      <groupId>com.github.binarywang</groupId>
-      <artifactId>weixin-java-miniapp</artifactId>
-      <version>${weixin-java-miniapp.version}</version>
-    </dependency>
-    &lt;!&ndash; MyBatis plus &ndash;&gt;
+    <!-- MyBatis plus -->
     <dependency>
       <groupId>com.baomidou</groupId>
       <artifactId>mybatis-plus-boot-starter</artifactId>
       <version>${mybatis.plus.version}</version>
     </dependency>
-    &lt;!&ndash; MyBatis鍒嗛〉 &ndash;&gt;
+    <!-- MyBatis鍒嗛〉 -->
     <dependency>
       <groupId>com.github.pagehelper</groupId>
       <artifactId>pagehelper-spring-boot-starter</artifactId>
-      <version>1.3.0</version>
-      &lt;!&ndash;浣跨敤spring boot2鏁村悎 pagehelper-spring-boot-starter蹇呴』鎺掗櫎涓�涓嬩緷璧�
-          鍥犱负pagehelper-spring-boot-starter涔熷凡缁忓湪pom渚濊禆浜唌ybatis涓巑ybatis-spring
-          鎵�浠ヤ細涓巑ybatis-plus-boot-starter涓殑mybatis涓巑ybatis-spring鍙戠敓鍐茬獊
-      &ndash;&gt;
-      <exclusions>
-        <exclusion>
-          <groupId>org.mybatis</groupId>
-          <artifactId>mybatis</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>org.mybatis</groupId>
-          <artifactId>mybatis-spring</artifactId>
-        </exclusion>
-        &lt;!&ndash; 瑙e喅jsqlparser 渚濊禆鐗堟湰鍐茬獊&ndash;&gt;
-        <exclusion>
-          <artifactId>jsqlparser</artifactId>
-          <groupId>com.github.jsqlparser</groupId>
-        </exclusion>
-      </exclusions>
+      <version>2.1.0</version>
     </dependency>
-    &lt;!&ndash; 杩炴帴姹� &ndash;&gt;
+    <!--<dependency>
+      <groupId>com.github.pagehelper</groupId>
+      <artifactId>pagehelper-spring-boot-starter</artifactId>
+      <version>1.2.13</version>
+    </dependency>-->
+  <!--  <dependency>
+      <groupId>com.github.xiaoymin</groupId>
+      <artifactId>knife4j-spring-boot-starter</artifactId>
+      <version>3.0.1</version>
+    </dependency>-->
+    <!-- swagger -->
+    <dependency>
+      <groupId>com.github.xiaoymin</groupId>
+      <artifactId>knife4j-spring-boot-starter</artifactId>
+      <version>3.0.3</version>
+    </dependency>
+    <dependency>
+      <groupId>io.springfox</groupId>
+      <artifactId>springfox-boot-starter</artifactId>
+      <version>3.0.0</version>
+    </dependency>
+    <dependency>
+      <groupId>io.swagger.core.v3</groupId>
+      <artifactId>swagger-annotations</artifactId>
+      <version>2.1.5</version>
+    </dependency>
+    <!-- quartz -->
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter-quartz</artifactId>
+    </dependency>
+    <!-- 杩炴帴姹� -->
     <dependency>
       <groupId>com.alibaba</groupId>
       <artifactId>druid</artifactId>
@@ -139,48 +116,40 @@
     <dependency>
       <groupId>mysql</groupId>
       <artifactId>mysql-connector-java</artifactId>
-      <scope>runtime</scope>
+      <version>8.0.19</version>
+      <!--<scope>system</scope>-->
     </dependency>
-
-    &lt;!&ndash; swagger &ndash;&gt;
+   <!-- <dependency>
+      <groupId>mysql</groupId>
+      <artifactId>mysql-connector-java</artifactId>
+      <version>8.0.19</version>
+      <scope>system</scope>
+      <systemPath>${project.basedir}/doc/mysql-connector-java-8.0.19.jar</systemPath>
+    </dependency>-->
+    <!-- swagger -->
+    <!--<dependency>
+      <groupId>io.springfox</groupId>
+      <artifactId>springfox-swagger2</artifactId>
+      <version>${swagger.version}</version>
+    </dependency>
+    &lt;!&ndash; swagger-bootstrap-ui &ndash;&gt;
     <dependency>
       <groupId>com.github.xiaoymin</groupId>
-      <artifactId>knife4j-spring-boot-starter</artifactId>
-      <version>3.0.3</version>
-    </dependency>
-
-    &lt;!&ndash; lombok &ndash;&gt;
-    <dependency>
-      <groupId>javax.validation</groupId>
-      <artifactId>validation-api</artifactId>
-      <version>2.0.1.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>org.hibernate</groupId>
-      <artifactId>hibernate-validator</artifactId>
-      <version>6.0.13.Final</version>
-    </dependency>
-    <dependency>
-      <groupId>com.aliyun</groupId>
-      <artifactId>dingtalk</artifactId>
-      <version>1.3.54</version>
-    </dependency>
-    <dependency>
-      <groupId>com.aliyun</groupId>
-      <artifactId>alibaba-dingtalk-service-sdk</artifactId>
-      <version>2.0.0</version>
-    </dependency>
+      <artifactId>swagger-bootstrap-ui</artifactId>
+      <version>${swagger.bootstrap-ui.version}</version>
+    </dependency>-->
+    <!-- lombok -->
     <dependency>
       <groupId>org.projectlombok</groupId>
       <artifactId>lombok</artifactId>
     </dependency>
-    &lt;!&ndash;google kaptcha&ndash;&gt;
+    <!--google kaptcha-->
     <dependency>
       <groupId>com.github.penggle</groupId>
       <artifactId>kaptcha</artifactId>
       <version>2.3.2</version>
     </dependency>
-    &lt;!&ndash; 宸ュ叿鍖� &ndash;&gt;
+    <!-- 宸ュ叿鍖� -->
     <dependency>
       <groupId>org.apache.commons</groupId>
       <artifactId>commons-lang3</artifactId>
@@ -190,7 +159,7 @@
       <artifactId>fastjson</artifactId>
       <version>${fastjson.version}</version>
     </dependency>
-    &lt;!&ndash; Excel瀵煎叆/瀵煎嚭渚濊禆鍖� &ndash;&gt;
+    <!-- Excel瀵煎叆/瀵煎嚭渚濊禆鍖� -->
     <dependency>
       <groupId>org.apache.poi</groupId>
       <artifactId>poi</artifactId>
@@ -201,7 +170,7 @@
       <artifactId>poi-ooxml</artifactId>
       <version>${poi.version}</version>
     </dependency>
-    &lt;!&ndash; 鑾峰彇绯荤粺淇℃伅渚濊禆鍖� &ndash;&gt;
+    <!-- 鑾峰彇绯荤粺淇℃伅渚濊禆鍖� -->
     <dependency>
       <groupId>com.github.oshi</groupId>
       <artifactId>oshi-core</artifactId>
@@ -217,143 +186,112 @@
       <artifactId>jna-platform</artifactId>
       <version>${jna.version}</version>
     </dependency>
-    &lt;!&ndash; https://mvnrepository.com/artifact/com.github.yulichang/mybatis-plus-join &ndash;&gt;
     <dependency>
       <groupId>com.github.yulichang</groupId>
       <artifactId>mybatis-plus-join</artifactId>
       <version>1.4.2.2</version>
-    </dependency>
-
-    &lt;!&ndash;娣诲姞fileupload渚濊禆&ndash;&gt;
-    <dependency>
-      <groupId>commons-fileupload</groupId>
-      <artifactId>commons-fileupload</artifactId>
-      <version>1.3.3</version>
-    </dependency>
-
-    &lt;!&ndash; FILE杞崲 &ndash;&gt;
-    <dependency>
-      <groupId>org.springframework</groupId>
-      <artifactId>spring-test</artifactId>
-    </dependency>
-
-    &lt;!&ndash;jwt&ndash;&gt;
-    <dependency>
-      <groupId>io.jsonwebtoken</groupId>
-      <artifactId>jjwt</artifactId>
-      <version>${jjwt.version}</version>
-    </dependency>
-
-    &lt;!&ndash;hutool宸ュ叿&ndash;&gt;
-    <dependency>
-      <groupId>cn.hutool</groupId>
-      <artifactId>hutool-all</artifactId>
-      <version>${hutool.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>com.belerweb</groupId>
-      <artifactId>pinyin4j</artifactId>
-      <version>2.5.1</version>
-    </dependency>
-&lt;!&ndash;    &lt;!&ndash; WeChat 灏忕▼搴� &ndash;&gt;&ndash;&gt;
-&lt;!&ndash;    <dependency>&ndash;&gt;
-&lt;!&ndash;      <groupId>com.github.binarywang</groupId>&ndash;&gt;
-&lt;!&ndash;      <artifactId>weixin-java-miniapp</artifactId>&ndash;&gt;
-&lt;!&ndash;      <version>${weixin-java-miniapp.version}</version>&ndash;&gt;
-&lt;!&ndash;    </dependency>&ndash;&gt;
-&lt;!&ndash;    &lt;!&ndash; WeChat 鏀粯 &ndash;&gt;&ndash;&gt;
-&lt;!&ndash;    <dependency>&ndash;&gt;
-&lt;!&ndash;      <groupId>com.github.binarywang</groupId>&ndash;&gt;
-&lt;!&ndash;      <artifactId>weixin-java-pay</artifactId>&ndash;&gt;
-&lt;!&ndash;      <version>${weixin-java-pay.version}</version>&ndash;&gt;
-&lt;!&ndash;    </dependency>&ndash;&gt;
-
-    &lt;!&ndash;  闃块噷浜慜SS&ndash;&gt;
-    <dependency>
-      <groupId>com.aliyun.oss</groupId>
-      <artifactId>aliyun-sdk-oss</artifactId>
-      <version>${aliyun-oss.version}</version>
-    </dependency>
-
-    &lt;!&ndash; aliyun sms SDK &ndash;&gt;
-    <dependency>
-      <groupId>com.aliyun</groupId>
-      <artifactId>aliyun-java-sdk-core</artifactId>
-      <version>4.5.3</version>
-    </dependency>
-
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-configuration-processor</artifactId>
-      <optional>true</optional>
-    </dependency>
-    &lt;!&ndash; mqtt &ndash;&gt;
-    <dependency>
-      <groupId>org.springframework.integration</groupId>
-      <artifactId>spring-integration-mqtt</artifactId>
-    </dependency>
-    &lt;!&ndash;	娴峰悍绯荤粺	&ndash;&gt;
-    <dependency>
-      <groupId>com.hikvision.ga</groupId>
-      <artifactId>artemis-http-client</artifactId>
-      <version>1.1.3</version>
-    </dependency>
-    &lt;!&ndash;鐢熸垚浜岀淮鐮�&ndash;&gt;
-    <dependency>
-      <groupId>com.google.zxing</groupId>
-      <artifactId>javase</artifactId>
-      <version>3.3.0</version>
     </dependency>
     <dependency>
       <groupId>commons-net</groupId>
       <artifactId>commons-net</artifactId>
       <version>3.8.0</version>
     </dependency>
+    <!--jwt-->
     <dependency>
-      <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-starter-data-redis</artifactId>
+      <groupId>io.jsonwebtoken</groupId>
+      <artifactId>jjwt</artifactId>
+      <version>${jjwt.version}</version>
     </dependency>
-
-    &lt;!&ndash; WxJava鍏紬鍙� &ndash;&gt;
+    <!--娣诲姞fileupload渚濊禆-->
     <dependency>
-      <groupId>com.github.binarywang</groupId>
-      <artifactId>weixin-java-mp</artifactId>
-      <version>3.6.0</version>
+      <groupId>commons-fileupload</groupId>
+      <artifactId>commons-fileupload</artifactId>
+      <version>1.4</version>
     </dependency>
     <dependency>
       <groupId>org.springframework.boot</groupId>
-      <artifactId>spring-boot-dependencies</artifactId>
-      <version>2.3.12.RELEASE</version>
-      <type>pom</type>
-      <scope>import</scope>
+      <artifactId>spring-boot-starter-mail</artifactId>
     </dependency>
-
     <dependency>
-      <groupId>org.springframework.cloud</groupId>
-      <artifactId>spring-cloud-dependencies</artifactId>
-      <version>Hoxton.SR12</version>
-      <type>pom</type>
-      <scope>import</scope>
+      <groupId>org.bouncycastle</groupId>
+      <artifactId>bcprov-jdk15on</artifactId>
+      <version>1.60</version>
     </dependency>
-
+ <!--   <dependency>
+      <groupId>com.azure.spring</groupId>
+      <artifactId>spring-cloud-azure-starter-storage-blob</artifactId>
+    </dependency>-->
     <dependency>
-      <groupId>com.alibaba.cloud</groupId>
-      <artifactId>spring-cloud-alibaba-dependencies</artifactId>
-      <version>2.2.7.RELEASE</version>
-      <type>pom</type>
-      <scope>import</scope>
+      <groupId>com.azure</groupId>
+      <artifactId>azure-storage-blob</artifactId>
+      <version>12.14.1</version>
     </dependency>
-  </dependencies>-->
+    <dependency>
+      <groupId>org.springframework.boot</groupId>
+      <artifactId>spring-boot-starter-freemarker</artifactId>
+    </dependency>
+  </dependencies>
   <build>
+    <finalName>dmttwebsite</finalName>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+      </resource>
+    </resources>
     <plugins>
+      <plugin>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-maven-plugin</artifactId>
+        <configuration>
+          <mainClass>com.doumee.OfficialWebsiteApplication</mainClass>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
+        <version>3.1</version>
         <configuration>
           <source>${java.version}</source>
           <target>${java.version}</target>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <version>3.1.0</version>
+        <configuration>
+          <delimiters>
+            <delimiter>@</delimiter>
+          </delimiters>
+          <useDefaultDelimiters>false</useDefaultDelimiters>
+        </configuration>
+      </plugin>
     </plugins>
+
   </build>
+
+  <profiles>
+    <profile>
+      <id>dev</id>
+      <properties>
+        <spring.active>dev</spring.active>
+      </properties>
+      <activation>
+        <activeByDefault>true</activeByDefault>
+      </activation>
+    </profile>
+    <profile>
+      <id>test</id>
+      <properties>
+        <spring.active>test</spring.active>
+      </properties>
+    </profile>
+    <profile>
+      <id>pro</id>
+      <properties>
+        <spring.active>pro</spring.active>
+      </properties>
+    </profile>
+  </profiles>
+
 </project>

--
Gitblit v1.9.3