|
@@ -98,6 +98,11 @@
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
</dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.baomidou</groupId>
|
|
|
+ <artifactId>mybatis-plus-extension</artifactId>
|
|
|
+ <version>${mybatis-plus.version}</version>
|
|
|
+ </dependency>
|
|
|
|
|
|
<!-- mysql数据库依赖 依赖 -->
|
|
|
<dependency>
|
|
@@ -246,6 +251,13 @@
|
|
|
<version>${nimbus-jose-jwt.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
+ <!-- 防止跳过网关私自访问子服务,jwt代替uuid -->
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.auth0</groupId>
|
|
|
+ <artifactId>java-jwt</artifactId>
|
|
|
+ <version>${java-jwt.version}</version>
|
|
|
+ </dependency>
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.data</groupId>
|
|
|
<artifactId>spring-data-commons</artifactId>
|