|
@@ -19,7 +19,7 @@
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<spring.boot.starter.parent>2.7.0</spring.boot.starter.parent>
|
|
<spring.boot.starter.parent>2.7.0</spring.boot.starter.parent>
|
|
|
<spring.boot.version>2.7.0</spring.boot.version>
|
|
<spring.boot.version>2.7.0</spring.boot.version>
|
|
|
- <knife4j.version>4.5.0</knife4j.version>
|
|
|
|
|
|
|
+ <knife4j.version>3.0.3</knife4j.version>
|
|
|
<spring-web.version>5.3.32</spring-web.version>
|
|
<spring-web.version>5.3.32</spring-web.version>
|
|
|
<jsoup.version>1.18.3</jsoup.version>
|
|
<jsoup.version>1.18.3</jsoup.version>
|
|
|
<mockito-inline.version>4.11.0</mockito-inline.version>
|
|
<mockito-inline.version>4.11.0</mockito-inline.version>
|
|
@@ -60,31 +60,43 @@
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
<dependencyManagement>
|
|
|
<dependencies>
|
|
<dependencies>
|
|
|
-
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.springframework</groupId>
|
|
<groupId>org.springframework</groupId>
|
|
|
<artifactId>spring-web</artifactId>
|
|
<artifactId>spring-web</artifactId>
|
|
|
<version>${spring-web.version}</version>
|
|
<version>${spring-web.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!-- <!–swagger–>-->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>io.springfox</groupId>
|
|
|
|
|
+ <artifactId>springfox-boot-starter</artifactId>
|
|
|
|
|
+ <version>${swagger.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>io.springfox</groupId>
|
|
<groupId>io.springfox</groupId>
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
<version>${swagger.version}</version>
|
|
<version>${swagger.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
-
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>io.springfox</groupId>
|
|
<groupId>io.springfox</groupId>
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
<version>${swagger.ui.version}</version>
|
|
<version>${swagger.ui.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
-
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>io.swagger</groupId>
|
|
<groupId>io.swagger</groupId>
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
<version>${swagger.annotations.version}</version>
|
|
<version>${swagger.annotations.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>com.google.code.gson</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>gson</artifactId>-->
|
|
|
|
|
+ <!-- <version>${google.code.gson.version}</version> <!– 建议使用最新版本 –>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
+
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
<artifactId>fastjson</artifactId>
|
|
@@ -97,6 +109,19 @@
|
|
|
<version>4.5.3</version>
|
|
<version>4.5.3</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>org.apache.httpcomponents.client5</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>httpclient5</artifactId>-->
|
|
|
|
|
+ <!-- <version>${apache.httpcore5.client5.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
+
|
|
|
|
|
+ <!-- <!– https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5 –>-->
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>org.apache.httpcomponents.core5</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>httpcore5</artifactId>-->
|
|
|
|
|
+ <!-- <version>${apache.httpcore5.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
+
|
|
|
<!--JWT-->
|
|
<!--JWT-->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.auth0</groupId>
|
|
<groupId>com.auth0</groupId>
|
|
@@ -110,33 +135,36 @@
|
|
|
<artifactId>jjwt</artifactId>
|
|
<artifactId>jjwt</artifactId>
|
|
|
<version>${io.jsonwebtoken.version}</version>
|
|
<version>${io.jsonwebtoken.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>org.apache.httpcomponents.core5</groupId>-->
|
|
|
|
|
-<!-- <artifactId>httpcore5-h2</artifactId>-->
|
|
|
|
|
-<!-- <version>${apache.httpcore5-h2.version}</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
|
|
+ <!-- <!– https://mvnrepository.com/artifact/org.apache.httpcomponents.core5/httpcore5-h2 –>-->
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>org.apache.httpcomponents.core5</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>httpcore5-h2</artifactId>-->
|
|
|
|
|
+ <!-- <version>${apache.httpcore5-h2.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpasyncclient</artifactId>
|
|
<artifactId>httpasyncclient</artifactId>
|
|
|
<version>${apache.httpasyncclient.version}</version>
|
|
<version>${apache.httpasyncclient.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>com.github.xiaoymin</groupId>-->
|
|
|
|
|
-<!-- <artifactId>swagger-bootstrap-ui</artifactId>-->
|
|
|
|
|
-<!-- <version>1.8.7</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
-
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>com.squareup.okhttp3</groupId>-->
|
|
|
|
|
-<!-- <artifactId>okhttp</artifactId>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
-
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>com.squareup.okhttp3</groupId>-->
|
|
|
|
|
-<!-- <artifactId>okhttp-sse</artifactId>-->
|
|
|
|
|
-<!-- <version>${okhttp.sse.version}</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>com.github.xiaoymin</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>swagger-bootstrap-ui</artifactId>-->
|
|
|
|
|
+ <!-- <version>1.8.7</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>com.squareup.okhttp3</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>okhttp</artifactId>-->
|
|
|
|
|
+ <!-- <version>${squareup.okhttp.version}</version> <!– 2023年最新稳定版 –>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
+
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>com.squareup.okhttp3</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>okhttp-sse</artifactId>-->
|
|
|
|
|
+ <!-- <version>${okhttp.sse.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
<groupId>org.projectlombok</groupId>
|
|
@@ -158,14 +186,14 @@
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
- <artifactId>knife4j-openapi3-spring-boot-starter</artifactId>
|
|
|
|
|
|
|
+ <artifactId>knife4j-spring-boot-starter</artifactId>
|
|
|
<version>${knife4j.version}</version>
|
|
<version>${knife4j.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>cn.hutool</groupId>-->
|
|
|
|
|
-<!-- <artifactId>hutool-all</artifactId>-->
|
|
|
|
|
-<!-- <version>4.5.11</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>cn.hutool</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>hutool-all</artifactId>-->
|
|
|
|
|
+ <!-- <version>4.5.11</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.googlecode.aviator</groupId>
|
|
<groupId>com.googlecode.aviator</groupId>
|
|
@@ -193,6 +221,14 @@
|
|
|
<version>${mysql.connector.version}</version>
|
|
<version>${mysql.connector.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
+ <!-- 动态数据源 -->
|
|
|
|
|
+ <!-- mybatis-plus -->
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
|
|
+ <artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+
|
|
|
<!-- 动态数据源 -->
|
|
<!-- 动态数据源 -->
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
<groupId>com.baomidou</groupId>
|
|
@@ -215,24 +251,25 @@
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>com.aliyun.kms</groupId>-->
|
|
|
|
|
-<!-- <artifactId>kms-transfer-client</artifactId>-->
|
|
|
|
|
-<!-- <version>0.1.0</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>com.aliyun.kms</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>kms-transfer-client</artifactId>-->
|
|
|
|
|
+ <!-- <version>0.1.0</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>com.github.yulichang</groupId>-->
|
|
|
|
|
-<!-- <version>${mybatis-plus-join.version}</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>com.github.yulichang</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>mybatis-plus-join-boot-starter</artifactId> <!– MyBatis 联表查询 –>-->
|
|
|
|
|
+ <!-- <version>${mybatis-plus-join.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>org.java-websocket</groupId>-->
|
|
|
|
|
-<!-- <artifactId>Java-WebSocket</artifactId>-->
|
|
|
|
|
-<!-- <version>${spring.web.socket.version}</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>org.java-websocket</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>Java-WebSocket</artifactId>-->
|
|
|
|
|
+ <!-- <version>${spring.web.socket.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
<!-- Web 相关 -->
|
|
<!-- Web 相关 -->
|
|
|
<dependency>
|
|
<dependency>
|
|
@@ -247,11 +284,11 @@
|
|
|
</exclusions>
|
|
</exclusions>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
|
|
|
-<!-- <dependency>-->
|
|
|
|
|
-<!-- <groupId>org.jsoup</groupId>-->
|
|
|
|
|
-<!-- <artifactId>jsoup</artifactId>-->
|
|
|
|
|
-<!-- <version>${jsoup.version}</version>-->
|
|
|
|
|
-<!-- </dependency>-->
|
|
|
|
|
|
|
+ <!-- <dependency>-->
|
|
|
|
|
+ <!-- <groupId>org.jsoup</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>jsoup</artifactId>-->
|
|
|
|
|
+ <!-- <version>${jsoup.version}</version>-->
|
|
|
|
|
+ <!-- </dependency>-->
|
|
|
|
|
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.google.guava</groupId>
|
|
<groupId>com.google.guava</groupId>
|
|
@@ -285,4 +322,34 @@
|
|
|
|
|
|
|
|
</dependencyManagement>
|
|
</dependencyManagement>
|
|
|
|
|
|
|
|
|
|
+ <!-- <build>-->
|
|
|
|
|
+ <!-- <plugins>-->
|
|
|
|
|
+ <!-- <!– 统一 revision 版本 –>-->
|
|
|
|
|
+ <!-- <plugin>-->
|
|
|
|
|
+ <!-- <groupId>org.codehaus.mojo</groupId>-->
|
|
|
|
|
+ <!-- <artifactId>flatten-maven-plugin</artifactId>-->
|
|
|
|
|
+ <!-- <version>${flatten-maven-plugin.version}</version>-->
|
|
|
|
|
+ <!-- <configuration>-->
|
|
|
|
|
+ <!-- <flattenMode>bom</flattenMode>-->
|
|
|
|
|
+ <!-- <updatePomFile>true</updatePomFile>-->
|
|
|
|
|
+ <!-- </configuration>-->
|
|
|
|
|
+ <!-- <executions>-->
|
|
|
|
|
+ <!-- <execution>-->
|
|
|
|
|
+ <!-- <goals>-->
|
|
|
|
|
+ <!-- <goal>flatten</goal>-->
|
|
|
|
|
+ <!-- </goals>-->
|
|
|
|
|
+ <!-- <id>flatten</id>-->
|
|
|
|
|
+ <!-- <phase>process-resources</phase>-->
|
|
|
|
|
+ <!-- </execution>-->
|
|
|
|
|
+ <!-- <execution>-->
|
|
|
|
|
+ <!-- <goals>-->
|
|
|
|
|
+ <!-- <goal>clean</goal>-->
|
|
|
|
|
+ <!-- </goals>-->
|
|
|
|
|
+ <!-- <id>flatten.clean</id>-->
|
|
|
|
|
+ <!-- <phase>clean</phase>-->
|
|
|
|
|
+ <!-- </execution>-->
|
|
|
|
|
+ <!-- </executions>-->
|
|
|
|
|
+ <!-- </plugin>-->
|
|
|
|
|
+ <!-- </plugins>-->
|
|
|
|
|
+ <!-- </build>-->
|
|
|
</project>
|
|
</project>
|