@@ -52,6 +52,11 @@
<groupId>com.usoftchina.saas</groupId>
<artifactId>commons-dto</artifactId>
</dependency>
+ <!-- db -->
+ <dependency>
+ <groupId>mysql</groupId>
+ <artifactId>mysql-connector-java</artifactId>
+ </dependency>
</dependencies>
<build>
@@ -5,6 +5,17 @@ spring:
user:
name: admin
password: select111***
+ datasource:
+ driver-class-name: com.mysql.jdbc.Driver
+ url: jdbc:mysql://10.1.81.79:3306/saas_biz?characterEncoding=utf-8&useSSL=false&allowMultiQueries=true
+ username: root
+ password: select111***
+ hikari:
+ minimum-idle: 5
+ maximum-pool-size: 50
+ idle-timeout: 30000
+ max-lifetime: 1800000
+ connection-timeout: 30000
messages:
basename: i18n/messages
encoding: UTF-8