更改配置文件
This commit is contained in:
@@ -27,7 +27,11 @@ http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 ">
|
||||
</fileSets>
|
||||
<files>
|
||||
<file>
|
||||
<source>src/main/resources/application.yml</source>
|
||||
<source>src/main/resources/application.properties</source>
|
||||
<outputDirectory>/conf</outputDirectory>
|
||||
</file>
|
||||
<file>
|
||||
<source>src/main/resources/logback-spring.xml</source>
|
||||
<outputDirectory>/conf</outputDirectory>
|
||||
</file>
|
||||
</files>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
|
||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=123456
|
||||
@@ -1,4 +0,0 @@
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
|
||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=123456
|
||||
@@ -1,5 +1,8 @@
|
||||
server.port=8080
|
||||
spring.profiles.active=@activatedProperties@
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
|
||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=1234
|
||||
#generatorConfig专用属性
|
||||
project=src/main/java
|
||||
resource=src/main/resources
|
||||
|
||||
Reference in New Issue
Block a user