mirror of https://gitee.com/maxjhandsome/pig
加入Eureka服务注册身份验证;加入敏感配置加密。
This commit is contained in:
parent
bab5679b2c
commit
c290060ea7
|
@ -38,7 +38,28 @@
|
|||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatisplus-spring-boot-starter</artifactId>
|
||||
<version>1.0.5</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.tomcat</groupId>
|
||||
<artifactId>tomcat-jdbc</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<!--连接池-->
|
||||
<!-- https://mvnrepository.com/artifact/com.zaxxer/HikariCP -->
|
||||
<dependency>
|
||||
<groupId>com.zaxxer</groupId>
|
||||
<artifactId>HikariCP</artifactId>
|
||||
<!--<version>2.7.4</version>-->
|
||||
</dependency>
|
||||
<!--连接池配置加密-->
|
||||
<!-- https://mvnrepository.com/artifact/com.github.ulisesbocchio/jasypt-spring-boot-starter -->
|
||||
<dependency>
|
||||
<groupId>com.github.ulisesbocchio</groupId>
|
||||
<artifactId>jasypt-spring-boot-starter</artifactId>
|
||||
<version>1.16</version>
|
||||
</dependency>
|
||||
|
||||
<!--myabtis-plus 代码生成依赖-->
|
||||
<dependency>
|
||||
<groupId>org.apache.velocity</groupId>
|
||||
|
|
|
@ -3,7 +3,7 @@ eureka:
|
|||
prefer-ip-address: true
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://zqxq:mgzqxq1866@localhost:1001/eureka
|
||||
defaultZone: http://pig:gip6666@localhost:1001/eureka
|
||||
|
||||
spring:
|
||||
application:
|
||||
|
|
|
@ -3,7 +3,7 @@ eureka:
|
|||
prefer-ip-address: true
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://zqxq:mgzqxq1866@localhost:1001/eureka
|
||||
defaultZone: http://pig:gip6666@localhost:1001/eureka
|
||||
|
||||
spring:
|
||||
application:
|
||||
|
|
|
@ -24,5 +24,5 @@ eureka:
|
|||
prefer-ip-address: true
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://zqxq:mgzqxq1866@localhost:1001/eureka
|
||||
defaultZone: http://pig:gip6666@localhost:1001/eureka
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ security:
|
|||
basic:
|
||||
enabled: true # 启用身份认证
|
||||
user:
|
||||
name: zqxq # 定义用户名
|
||||
password: mgzqxq1866 # 定义密码
|
||||
name: pig # 定义用户名
|
||||
password: gip6666 # 定义密码
|
||||
|
||||
eureka:
|
||||
client:
|
||||
|
|
|
@ -3,7 +3,7 @@ eureka:
|
|||
prefer-ip-address: true
|
||||
client:
|
||||
serviceUrl:
|
||||
defaultZone: http://zqxq:mgzqxq1866@localhost:1001/eureka
|
||||
defaultZone: http://pig:gip6666@localhost:1001/eureka
|
||||
|
||||
spring:
|
||||
application:
|
||||
|
|
Loading…
Reference in New Issue